#CE40B0#CE40B0

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

Color values

HEX#CE40B0
RGBrgb(206, 64, 176)
HSLhsl(313, 59%, 53%)
HSVhsv(313, 69%, 81%)
CMYKcmyk(0%, 68.9%, 14.6%, 19.2%)
CIE-LABlab(51.75, 66.76, -29.99)
CIE-LCHlch(51.75, 73.19, 335.81°)
OKLaboklab(61.22% 0.1968 -0.0814)
OKLCHoklch(61.22% 0.213 337.5)
XYZxyz(35.1241, 19.9264, 43.0622)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40B0 #40CE5E
analogous
#A540CE #CE40B0 #CE4069
triadic
#CE40B0 #B0CE40 #40B0CE
tetradic
#CE40B0 #CEA540 #40CE5E #4069CE
square
#CE40B0 #CEA540 #40CE5E #4069CE
split-complementary
#CE40B0 #69CE40 #40CEA5
monochromatic
#751E63 #A62B8C #CE40B0 #DA71C4 #E7A1D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE40B0#FFFFFF#000000##000000
##CE40B01.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)
#456DB3
Deuteranopia (green-blind)
#7383AD
Tritanopia (blue-blind)
#D94773
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce40b0;
/* rgb */ color: rgb(206, 64, 176);
/* oklch */ color: oklch(61.2% 0.213 337.5);
Tailwind
colors: {
  custom: {
    50: '#e180c8',
    500: '#ce40b0',
    950: '#000000',
  },
}
SCSS
$custom: #ce40b0;
$custom-light: #e180c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40b0",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 312.676,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.21296,
    "h": 337.5
  },
  "luminance": 0.19923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE40B0

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

Preview Lab → · Contrast checker → · Palette generator →

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