#CE40A6#CE40A6

#CE40A6 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.8% C 0.206 H 341.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CE40A6
RGBrgb(206, 64, 166)
HSLhsl(317, 59%, 53%)
HSVhsv(317, 69%, 81%)
CMYKcmyk(0%, 68.9%, 19.4%, 19.2%)
CIE-LABlab(51.32, 65.36, -24.80)
CIE-LCHlch(51.32, 69.91, 339.22°)
OKLaboklab(60.76% 0.1953 -0.0667)
OKLCHoklch(60.76% 0.206 341.2)
XYZxyz(34.1709, 19.5451, 38.0420)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40A6 #40CE68
analogous
#AF40CE #CE40A6 #CE405F
triadic
#CE40A6 #A6CE40 #40A6CE
tetradic
#CE40A6 #CEAF40 #40CE68 #405FCE
square
#CE40A6 #CEAF40 #40CE68 #405FCE
split-complementary
#CE40A6 #5FCE40 #40CEAF
monochromatic
#751E5D #A62B83 #CE40A6 #DA71BD #E7A1D3

Accessibility & contrast

On white

4.28
#CE40A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CE40A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40A6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40A6#FFFFFF#000000##000000
##CE40A61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CA9
Deuteranopia (green-blind)
#7783A3
Tritanopia (blue-blind)
#DA436D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce40a6;
/* rgb */ color: rgb(206, 64, 166);
/* oklch */ color: oklch(60.8% 0.206 341.2);
Tailwind
colors: {
  custom: {
    50: '#e180c0',
    500: '#ce40a6',
    950: '#000000',
  },
}
SCSS
$custom: #ce40a6;
$custom-light: #e180c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40a6",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 166
  },
  "hsl": {
    "h": 316.901,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.20636,
    "h": 341.2
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#CE40A6
secondary
#96D4A7
accent
#E27245
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE40A6

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

Preview Lab → · Contrast checker → · Palette generator →

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