#CE40AD#CE40AD

#CE40AD is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.1% C 0.211 H 338.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CE40AD
RGBrgb(206, 64, 173)
HSLhsl(314, 59%, 53%)
HSVhsv(314, 69%, 81%)
CMYKcmyk(0%, 68.9%, 16%, 19.2%)
CIE-LABlab(51.62, 66.34, -28.44)
CIE-LCHlch(51.62, 72.18, 336.79°)
OKLaboklab(61.07% 0.1964 -0.077)
OKLCHoklch(61.07% 0.211 338.6)
XYZxyz(34.8306, 19.8089, 41.5162)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40AD #40CE61
analogous
#A840CE #CE40AD #CE4066
triadic
#CE40AD #ADCE40 #40ADCE
tetradic
#CE40AD #CEA840 #40CE61 #4066CE
square
#CE40AD #CEA840 #40CE61 #4066CE
split-complementary
#CE40AD #66CE40 #40CEA8
monochromatic
#751E61 #A62B89 #CE40AD #DA71C2 #E7A1D7

Accessibility & contrast

On white

4.23
#CE40AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CE40AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40AD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40AD#FFFFFF#000000##000000
##CE40AD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB0
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#D94671
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce40ad;
/* rgb */ color: rgb(206, 64, 173);
/* oklch */ color: oklch(61.1% 0.211 338.6);
Tailwind
colors: {
  custom: {
    50: '#e180c5',
    500: '#ce40ad',
    950: '#000000',
  },
}
SCSS
$custom: #ce40ad;
$custom-light: #e180c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40ad",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 313.944,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61074,
    "c": 0.21093,
    "h": 338.6
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE40AD

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

Preview Lab → · Contrast checker → · Palette generator →

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