#CE40B2#CE40B2

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

Color values

HEX#CE40B2
RGBrgb(206, 64, 178)
HSLhsl(312, 59%, 53%)
HSVhsv(312, 69%, 81%)
CMYKcmyk(0%, 68.9%, 13.6%, 19.2%)
CIE-LABlab(51.84, 67.05, -31.02)
CIE-LCHlch(51.84, 73.88, 335.18°)
OKLaboklab(61.31% 0.1971 -0.0843)
OKLCHoklch(61.31% 0.214 336.8)
XYZxyz(35.3235, 20.0061, 44.1120)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40B2 #40CE5C
analogous
#A340CE #CE40B2 #CE406B
triadic
#CE40B2 #B2CE40 #40B2CE
tetradic
#CE40B2 #CEA340 #40CE5C #406BCE
square
#CE40B2 #CEA340 #40CE5C #406BCE
split-complementary
#CE40B2 #6BCE40 #40CEA3
monochromatic
#751E64 #A62B8E #CE40B2 #DA71C6 #E7A1D9

Accessibility & contrast

On white

4.20
#CE40B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CE40B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40B2#FFFFFF#000000##000000
##CE40B21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#D94874
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce40b2;
/* rgb */ color: rgb(206, 64, 178);
/* oklch */ color: oklch(61.3% 0.214 336.8);
Tailwind
colors: {
  custom: {
    50: '#e180c9',
    500: '#ce40b2',
    950: '#000000',
  },
}
SCSS
$custom: #ce40b2;
$custom-light: #e180c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40b2",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 311.831,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.21433,
    "h": 336.8
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#CE40B2
secondary
#96D4A2
accent
#E26445
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE40B2

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

Preview Lab → · Contrast checker → · Palette generator →

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