#CE42AB#CE42AB

#CE42AB is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.207 H 339.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CE42AB
RGBrgb(206, 66, 171)
HSLhsl(315, 59%, 53%)
HSVhsv(315, 68%, 81%)
CMYKcmyk(0%, 68%, 17%, 19.2%)
CIE-LABlab(51.79, 65.32, -27.00)
CIE-LCHlch(51.79, 70.68, 337.54°)
OKLaboklab(61.17% 0.1939 -0.0729)
OKLCHoklch(61.17% 0.207 339.4)
XYZxyz(34.7533, 19.9617, 40.5429)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42AB #42CE65
analogous
#AB42CE #CE42AB #CE4265
triadic
#CE42AB #ABCE42 #42ABCE
tetradic
#CE42AB #CEAB42 #42CE65 #4265CE
square
#CE42AB #CEAB42 #42CE65 #4265CE
split-complementary
#CE42AB #65CE42 #42CEAB
monochromatic
#771F61 #A72B88 #CE42AB #DB73C1 #E7A3D6

Accessibility & contrast

On white

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

On black

4.99
#CE42AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42AB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42AB#FFFFFF#000000##000000
##CE42AB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6DAE
Deuteranopia (green-blind)
#7683A8
Tritanopia (blue-blind)
#DA4771
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce42ab;
/* rgb */ color: rgb(206, 66, 171);
/* oklch */ color: oklch(61.2% 0.207 339.4);
Tailwind
colors: {
  custom: {
    50: '#e181c4',
    500: '#ce42ab',
    950: '#000000',
  },
}
SCSS
$custom: #ce42ab;
$custom-light: #e181c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42ab",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 315,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.20714,
    "h": 339.4
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE42AB

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

Preview Lab → · Contrast checker → · Palette generator →

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