#CE40AB#CE40AB

#CE40AB is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 61.0% C 0.210 H 339.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CE40AB
RGBrgb(206, 64, 171)
HSLhsl(315, 59%, 53%)
HSVhsv(315, 69%, 81%)
CMYKcmyk(0%, 68.9%, 17%, 19.2%)
CIE-LABlab(51.53, 66.05, -27.40)
CIE-LCHlch(51.53, 71.51, 337.47°)
OKLaboklab(60.98% 0.1961 -0.074)
OKLCHoklch(60.98% 0.21 339.3)
XYZxyz(34.6385, 19.7321, 40.5046)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40AB #40CE63
analogous
#AA40CE #CE40AB #CE4064
triadic
#CE40AB #ABCE40 #40ABCE
tetradic
#CE40AB #CEAA40 #40CE63 #4064CE
square
#CE40AB #CEAA40 #40CE63 #4064CE
split-complementary
#CE40AB #64CE40 #40CEAA
monochromatic
#751E60 #A62B88 #CE40AB #DA71C0 #E7A1D6

Accessibility & contrast

On white

4.25
#CE40AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CE40AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40AB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40AB#FFFFFF#000000##000000
##CE40AB1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#486CAE
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#DA4570
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce40ab;
/* rgb */ color: rgb(206, 64, 171);
/* oklch */ color: oklch(61.0% 0.210 339.3);
Tailwind
colors: {
  custom: {
    50: '#e180c4',
    500: '#ce40ab',
    950: '#000000',
  },
}
SCSS
$custom: #ce40ab;
$custom-light: #e180c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40ab",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 314.789,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.2096,
    "h": 339.3
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#CE40AB
secondary
#96D4A5
accent
#E26C45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE40AB

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

Preview Lab → · Contrast checker → · Palette generator →

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