#CE2D8B#CE2D8B

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

Color values

HEX#CE2D8B
RGBrgb(206, 45, 139)
HSLhsl(325, 64%, 49%)
HSVhsv(325, 78%, 81%)
CMYKcmyk(0%, 78.2%, 32.5%, 19.2%)
CIE-LABlab(48.09, 68.12, -13.64)
CIE-LCHlch(48.09, 69.47, 348.67°)
OKLaboklab(58.06% 0.2087 -0.0355)
OKLCHoklch(58.06% 0.212 350.3)
XYZxyz(31.0540, 16.8664, 26.0413)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2D8B #2DCE70
analogous
#C12DCE #CE2D8B #CE2D3B
triadic
#CE2D8B #8BCE2D #2D8BCE
tetradic
#CE2D8B #CEC12D #2DCE70 #2D3BCE
square
#CE2D8B #CEC12D #2DCE70 #2D3BCE
split-complementary
#CE2D8B #3BCE2D #2DCEC1
monochromatic
#6A1747 #9C2269 #CE2D8B #DC5DA7 #E78FC2

Accessibility & contrast

On white

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

On black

4.37
#CE2D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CE2D8B#FFFFFF#000000##FFFFFF
##CE2D8B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce2d8b;
/* rgb */ color: rgb(206, 45, 139);
/* oklch */ color: oklch(58.1% 0.212 350.3);
Tailwind
colors: {
  custom: {
    50: '#e277ad',
    500: '#ce2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #ce2d8b;
$custom-light: #e277ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2d8b",
  "rgb": {
    "r": 206,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 324.969,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.21168,
    "h": 350.3
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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