Crayola crayon color

Crayola Eggplant #6E5160

Crayola Eggplant is shown here as #6E5160, the commonly published value for the crayon. It is a dark grayish wine in the pink family. In OKLCH it sits at lightness 0.471, chroma 0.045 and hue 346.5°. The nearest CSS named color is dimgray (#696969), ΔE2000 16.0 away.

Relative luminance
0.1004
OKLCH L · C · h
0.471 · 0.045 · 346.5
Best text
White 6.97:1
Hue family
Pink

#6E5160 color codes

HEX
#6E5160
RGB
rgb(110, 81, 96)
HSL
hsl(329, 15%, 37%)
OKLCH
oklch(0.471 0.045 346.5)
OKLab
oklab(0.471 0.043 -0.010)
CIELAB (D65)
L* 37.92, a* 14.76, b* -3.97
XYZ (D65)
X 11.48, Y 10.04, Z 12.40
CMYK (naive)
cmyk(0%, 26%, 13%, 57%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.

Legibility

Contrast: is #6E5160 accessible?

White text on it reaches 6.97:1, passing AA. Black text manages only 3.00:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    3.00:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +19
  • White text on it

    6.97:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −89
  • As text on black

    3.00:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −17
  • As text on white

    6.97:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +84

Nearest versions that pass 4.5:1

  • For text on white

    #6E5160 6.97:1

    It already reaches 6.97:1 on white, so no change is needed.

  • For text on black

    #8A6C7B 4.51:1

    Lightening its OKLCH lightness from 0.47 to 0.57 reaches 4.51:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #6E5160 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #6E5160

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #6E5160 sits at step 700.

  1. 50#FFF0F8
    White
    1.10
    Black
    19.07
  2. 100#FFE2F0
    White
    1.20
    Black
    17.38
  3. 200#ECCEDD
    White
    1.45
    Black
    14.43
  4. 300#D3B3C3
    White
    1.90
    Black
    11.00
  5. 400#B797A7
    White
    2.62
    Black
    7.99
  6. 500#9B7C8C
    White
    3.71
    Black
    5.65
  7. 600#826574
    White
    5.16
    Black
    4.06
  8. 700This color#6E5160
    White
    6.97
    Black
    3.00
  9. 800#503744
    White
    10.65
    Black
    1.97
  10. 900#37212D
    White
    14.81
    Black
    1.41
  11. 950#210F19
    White
    18.30
    Black
    1.14

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #6E5160 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.199; #6E5160 uses 22% of it. Display P3, which many recent phones and laptops show, reaches 0.222 there: 12% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.045
sRGB edge
0.199
Display P3 edge
0.222
Rec. 2020 edge
0.261
Dominant wavelength
Complementary 508 nm
Excitation purity
17%
Chromaticity
x 0.3385, y 0.2961
  • This color#6E5160
  • Most vivid in sRGB#A10071
  • Most vivid in Display P3oklch(0.471 0.222 346.5)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #6e5160;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.5991 0 0.4397); }
}

Mixing

Mixing #6E5160

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#B7A8B0
  • OKLab50%#B5A4AC
  • OKLCH50%#B5A4AC

Black #000000

  • sRGB50%#372930
  • OKLab50%#261A20
  • OKLCH50%#261A20

Its complement #426355

  • sRGB50%#585A5B
  • OKLab50%#5B5B5B
  • OKLCH50%#69583E
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #6e5160, white);
color: color-mix(in oklch, #6e5160 50%, white);

In use

#6E5160 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:16.97:1 Passes
  • Link and body-size textText, 4.5:16.97:1 Passes
  • Large headingLarge text, 3:16.97:1 Passes
  • Icons, borders and focus ringsNon-text, 3:16.97:1 Passes

Dark page

  • Button labelText, 4.5:16.97:1 Passes
  • Link and body-size textText, 4.5:12.68:1 Fails
  • Large headingLarge text, 3:12.68:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.68:1 Fails

For text on this page, the nearest shade that passes is #937584 4.56:1

Color vision

How #6E5160 looks with color blindness

Achromatopsia changes it most, ΔE2000 14.9; tritanopia changes it least, 4.6.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #535661 ΔE2000 14.2

    Distinct

    Reads as dark gray

  • Deuteranopia

    No working green (medium-wavelength) cones

    #5A5B5F ΔE2000 14.4

    Distinct

    Reads as dark gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #725156 ΔE2000 4.6

    Close match

    Reads as dark grayish wine

  • Achromatopsia

    No cone color vision; lightness only

    #595959 ΔE2000 14.9

    Distinct

    Reads as dark gray

Pairing check

Checked against its complement, #426355. Their lightness contrast is only 1.04:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#6E5160 · #42635536.4Stays distinct
Protanopia#535661 · #625F5412.9Stays distinct
Deuteranopia#5A5B5F · #5C5B565.5Harder to tell apart
Tritanopia#725156 · #3A635F35.1Stays distinct
Achromatopsia#595959 · #5C5C5C1.1Easily confused

Harmony

Color harmonies for #6E5160

Its complement is #426355, a dark grayish green, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#6E5160
  • Complement#426355

Complementary

Open in Harmony Studio
  • −30°#65536C
  • Base#6E5160
  • +30°#725152
  • Base#6E5160
  • +120°#5E5D3F
  • +240°#3F606E
  • Base#6E5160
  • +150°#506148
  • +210°#3C6363

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-crayola-eggplant: #6e5160;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-eggplant': '#6e5160',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-crayola-eggplant: oklch(0.471 0.045 346.5);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-eggplant": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.4314, 0.3176, 0.3765],
        "hex": "#6e5160"
      },
      "$description": "Crayola Eggplant"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaEggplant = Color(.sRGB, red: 0.431, green: 0.318, blue: 0.376, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaEggplant = Color(0xFF6E5160)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #6E5160 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.