#CB2E87#CB2E87

#CB2E87 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.5% C 0.207 H 351.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CB2E87
RGBrgb(203, 46, 135)
HSLhsl(326, 63%, 49%)
HSVhsv(326, 77%, 80%)
CMYKcmyk(0%, 77.3%, 33.5%, 20.4%)
CIE-LABlab(47.50, 66.66, -12.17)
CIE-LCHlch(47.50, 67.76, 349.65°)
OKLaboklab(57.48% 0.2043 -0.0316)
OKLCHoklch(57.48% 0.207 351.2)
XYZxyz(29.9806, 16.4034, 24.5043)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2E87 #2ECB72
analogous
#C12ECB #CB2E87 #CB2E39
triadic
#CB2E87 #87CB2E #2E87CB
tetradic
#CB2E87 #CBC12E #2ECB72 #2E39CB
square
#CB2E87 #CBC12E #2ECB72 #2E39CB
split-complementary
#CB2E87 #39CB2E #2ECBC1
monochromatic
#671745 #992366 #CB2E87 #DA5CA4 #E58EC0

Accessibility & contrast

On white

4.91
#CB2E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CB2E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2E87
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2E87#FFFFFF#000000##FFFFFF
##CB2E871.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#787B84
Tritanopia (blue-blind)
#DA2057
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cb2e87;
/* rgb */ color: rgb(203, 46, 135);
/* oklch */ color: oklch(57.5% 0.207 351.2);
Tailwind
colors: {
  custom: {
    50: '#e077aa',
    500: '#cb2e87',
    950: '#000000',
  },
}
SCSS
$custom: #cb2e87;
$custom-light: #e077aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2e87",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 325.987,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.20674,
    "h": 351.2
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#CB2E87
secondary
#85D0A5
accent
#E68942
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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