#CE2D8E#CE2D8E

#CE2D8E is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.213 H 349.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CE2D8E
RGBrgb(206, 45, 142)
HSLhsl(324, 64%, 49%)
HSVhsv(324, 78%, 81%)
CMYKcmyk(0%, 78.2%, 31.1%, 19.2%)
CIE-LABlab(48.20, 68.45, -15.28)
CIE-LCHlch(48.20, 70.14, 347.42°)
OKLaboklab(58.18% 0.2094 -0.04)
OKLCHoklch(58.18% 0.213 349.2)
XYZxyz(31.2762, 16.9553, 27.2116)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2D8E #2DCE6D
analogous
#BE2DCE #CE2D8E #CE2D3E
triadic
#CE2D8E #8ECE2D #2D8ECE
tetradic
#CE2D8E #CEBE2D #2DCE6D #2D3ECE
square
#CE2D8E #CEBE2D #2DCE6D #2D3ECE
split-complementary
#CE2D8E #3ECE2D #2DCEBE
monochromatic
#6A1749 #9C226B #CE2D8E #DC5DA9 #E78FC4

Accessibility & contrast

On white

4.78
#CE2D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CE2D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CE2D8E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2D8E#FFFFFF#000000##FFFFFF
##CE2D8E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496090
Deuteranopia (green-blind)
#787D8A
Tritanopia (blue-blind)
#DD225A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ce2d8e;
/* rgb */ color: rgb(206, 45, 142);
/* oklch */ color: oklch(58.2% 0.213 349.2);
Tailwind
colors: {
  custom: {
    50: '#e277af',
    500: '#ce2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #ce2d8e;
$custom-light: #e277af;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2d8e",
  "rgb": {
    "r": 206,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 323.851,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.21315,
    "h": 349.2
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#CE2D8E
secondary
#86D1A4
accent
#E78341
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CE2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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