#CE40AF#CE40AF

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

Color values

HEX#CE40AF
RGBrgb(206, 64, 175)
HSLhsl(313, 59%, 53%)
HSVhsv(313, 69%, 81%)
CMYKcmyk(0%, 68.9%, 15%, 19.2%)
CIE-LABlab(51.71, 66.62, -29.47)
CIE-LCHlch(51.71, 72.85, 336.13°)
OKLaboklab(61.17% 0.1967 -0.0799)
OKLCHoklch(61.17% 0.212 337.9)
XYZxyz(35.0255, 19.8869, 42.5430)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40AF #40CE5F
analogous
#A640CE #CE40AF #CE4068
triadic
#CE40AF #AFCE40 #40AFCE
tetradic
#CE40AF #CEA640 #40CE5F #4068CE
square
#CE40AF #CEA640 #40CE5F #4068CE
split-complementary
#CE40AF #68CE40 #40CEA6
monochromatic
#751E62 #A62B8B #CE40AF #DA71C3 #E7A1D8

Accessibility & contrast

On white

4.22
#CE40AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE40AF#FFFFFF#000000##000000
##CE40AF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#456DB2
Deuteranopia (green-blind)
#7483AC
Tritanopia (blue-blind)
#D94772
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce40af;
/* rgb */ color: rgb(206, 64, 175);
/* oklch */ color: oklch(61.2% 0.212 337.9);
Tailwind
colors: {
  custom: {
    50: '#e180c7',
    500: '#ce40af',
    950: '#000000',
  },
}
SCSS
$custom: #ce40af;
$custom-light: #e180c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40af",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 313.099,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.21228,
    "h": 337.9
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#CE40AF
secondary
#96D4A4
accent
#E26845
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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