#CB487E#CB487E

#CB487E is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.6% C 0.173 H 358.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CB487E
RGBrgb(203, 72, 126)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 64.5%, 37.9%, 20.4%)
CIE-LABlab(50.50, 56.47, -2.26)
CIE-LCHlch(50.50, 56.52, 357.70°)
OKLaboklab(59.59% 0.1727 -0.0052)
OKLCHoklch(59.59% 0.173 358.3)
XYZxyz(30.7138, 18.8411, 21.7539)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB487E #48CB95
analogous
#CB48C0 #CB487E #CB5448
triadic
#CB487E #7ECB48 #487ECB
tetradic
#CB487E #C0CB48 #48CB95 #5448CB
square
#CB487E #C0CB48 #48CB95 #5448CB
split-complementary
#CB487E #48CB54 #48C0CB
monochromatic
#772245 #A62F60 #CB487E #D978A0 #E6A7C1

Accessibility & contrast

On white

4.40
#CB487E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CB487E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB487E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB487E#FFFFFF#000000##000000
##CB487E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#606980
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#DB3B5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb487e;
/* rgb */ color: rgb(203, 72, 126);
/* oklch */ color: oklch(59.6% 0.173 358.3);
Tailwind
colors: {
  custom: {
    50: '#df83a3',
    500: '#cb487e',
    950: '#000000',
  },
}
SCSS
$custom: #cb487e;
$custom-light: #df83a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb487e",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 335.267,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.17277,
    "h": 358.3
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#CB487E
secondary
#9BD3BC
accent
#DFA149
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB487E

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

Preview Lab → · Contrast checker → · Palette generator →

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