#CE40B1#CE40B1

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

Color values

HEX#CE40B1
RGBrgb(206, 64, 177)
HSLhsl(312, 59%, 53%)
HSVhsv(312, 69%, 81%)
CMYKcmyk(0%, 68.9%, 14.1%, 19.2%)
CIE-LABlab(51.80, 66.91, -30.50)
CIE-LCHlch(51.80, 73.53, 335.49°)
OKLaboklab(61.26% 0.1969 -0.0828)
OKLCHoklch(61.26% 0.214 337.2)
XYZxyz(35.2234, 19.9661, 43.5852)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40B1 #40CE5D
analogous
#A440CE #CE40B1 #CE406A
triadic
#CE40B1 #B1CE40 #40B1CE
tetradic
#CE40B1 #CEA440 #40CE5D #406ACE
square
#CE40B1 #CEA440 #40CE5D #406ACE
split-complementary
#CE40B1 #6ACE40 #40CEA4
monochromatic
#751E64 #A62B8D #CE40B1 #DA71C5 #E7A1D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE40B1#FFFFFF#000000##000000
##CE40B11.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)
#446EB4
Deuteranopia (green-blind)
#7383AE
Tritanopia (blue-blind)
#D94873
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce40b1;
/* rgb */ color: rgb(206, 64, 177);
/* oklch */ color: oklch(61.3% 0.214 337.2);
Tailwind
colors: {
  custom: {
    50: '#e180c8',
    500: '#ce40b1',
    950: '#000000',
  },
}
SCSS
$custom: #ce40b1;
$custom-light: #e180c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40b1",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 312.254,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.21364,
    "h": 337.2
  },
  "luminance": 0.19963
}

Semantic roles & 50–950 ramp

primary
#CE40B1
secondary
#96D4A3
accent
#E26545
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE40B1

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

Preview Lab → · Contrast checker → · Palette generator →

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