#CE40B9#CE40B9

#CE40B9 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.7% C 0.219 H 334.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CE40B9
RGBrgb(206, 64, 185)
HSLhsl(309, 59%, 53%)
HSVhsv(309, 69%, 81%)
CMYKcmyk(0%, 68.9%, 10.2%, 19.2%)
CIE-LABlab(52.17, 68.08, -34.59)
CIE-LCHlch(52.17, 76.36, 333.07°)
OKLaboklab(61.65% 0.1978 -0.0945)
OKLCHoklch(61.65% 0.219 334.5)
XYZxyz(36.0443, 20.2944, 47.9084)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40B9 #40CE55
analogous
#9C40CE #CE40B9 #CE4072
triadic
#CE40B9 #B9CE40 #40B9CE
tetradic
#CE40B9 #CE9C40 #40CE55 #4072CE
square
#CE40B9 #CE9C40 #40CE55 #4072CE
split-complementary
#CE40B9 #72CE40 #40CE9C
monochromatic
#751E69 #A62B94 #CE40B9 #DA71CB #E7A1DD

Accessibility & contrast

On white

4.15
#CE40B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CE40B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40B9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40B9#FFFFFF#000000##000000
##CE40B91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#6F84B6
Tritanopia (blue-blind)
#D84B77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce40b9;
/* rgb */ color: rgb(206, 64, 185);
/* oklch */ color: oklch(61.7% 0.219 334.5);
Tailwind
colors: {
  custom: {
    50: '#e181ce',
    500: '#ce40b9',
    950: '#000000',
  },
}
SCSS
$custom: #ce40b9;
$custom-light: #e181ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40b9",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 308.873,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.21925,
    "h": 334.5
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

primary
#CE40B9
secondary
#96D49F
accent
#E25D45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE40B9

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

Preview Lab → · Contrast checker → · Palette generator →

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