#CE42AA#CE42AA

#CE42AA is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.1% C 0.206 H 339.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CE42AA
RGBrgb(206, 66, 170)
HSLhsl(315, 59%, 53%)
HSVhsv(315, 68%, 81%)
CMYKcmyk(0%, 68%, 17.5%, 19.2%)
CIE-LABlab(51.75, 65.18, -26.48)
CIE-LCHlch(51.75, 70.36, 337.89°)
OKLaboklab(61.13% 0.1937 -0.0714)
OKLCHoklch(61.13% 0.206 339.8)
XYZxyz(34.6584, 19.9238, 40.0428)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42AA #42CE66
analogous
#AC42CE #CE42AA #CE4264
triadic
#CE42AA #AACE42 #42AACE
tetradic
#CE42AA #CEAC42 #42CE66 #4264CE
square
#CE42AA #CEAC42 #42CE66 #4264CE
split-complementary
#CE42AA #64CE42 #42CEAC
monochromatic
#771F60 #A72B88 #CE42AA #DB73C0 #E7A3D6

Accessibility & contrast

On white

4.21
#CE42AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CE42AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42AA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42AA#FFFFFF#000000##000000
##CE42AA1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6DAD
Deuteranopia (green-blind)
#7683A7
Tritanopia (blue-blind)
#DA4670
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce42aa;
/* rgb */ color: rgb(206, 66, 170);
/* oklch */ color: oklch(61.1% 0.206 339.8);
Tailwind
colors: {
  custom: {
    50: '#e181c3',
    500: '#ce42aa',
    950: '#000000',
  },
}
SCSS
$custom: #ce42aa;
$custom-light: #e181c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42aa",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 315.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61127,
    "c": 0.20649,
    "h": 339.8
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#CE42AA
secondary
#98D4A7
accent
#E26E46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE42AA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CE42AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva