#CE2D8C#CE2D8C

#CE2D8C is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.1% C 0.212 H 349.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CE2D8C
RGBrgb(206, 45, 140)
HSLhsl(325, 64%, 49%)
HSVhsv(325, 78%, 81%)
CMYKcmyk(0%, 78.2%, 32%, 19.2%)
CIE-LABlab(48.13, 68.23, -14.19)
CIE-LCHlch(48.13, 69.69, 348.25°)
OKLaboklab(58.1% 0.2089 -0.037)
OKLCHoklch(58.1% 0.212 349.9)
XYZxyz(31.1274, 16.8958, 26.4279)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2D8C #2DCE6F
analogous
#C02DCE #CE2D8C #CE2D3C
triadic
#CE2D8C #8CCE2D #2D8CCE
tetradic
#CE2D8C #CEC02D #2DCE6F #2D3CCE
square
#CE2D8C #CEC02D #2DCE6F #2D3CCE
split-complementary
#CE2D8C #3CCE2D #2DCEC0
monochromatic
#6A1748 #9C226A #CE2D8C #DC5DA8 #E78FC3

Accessibility & contrast

On white

4.80
#CE2D8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CE2D8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CE2D8C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2D8C#FFFFFF#000000##FFFFFF
##CE2D8C1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608E
Deuteranopia (green-blind)
#797C88
Tritanopia (blue-blind)
#DD2059
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ce2d8c;
/* rgb */ color: rgb(206, 45, 140);
/* oklch */ color: oklch(58.1% 0.212 349.9);
Tailwind
colors: {
  custom: {
    50: '#e277ad',
    500: '#ce2d8c',
    950: '#000000',
  },
}
SCSS
$custom: #ce2d8c;
$custom-light: #e277ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2d8c",
  "rgb": {
    "r": 206,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 324.596,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.21217,
    "h": 349.9
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#CE2D8C
secondary
#86D1A5
accent
#E78541
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CE2D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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