#CB4987#CB4987

#CB4987 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.175 H 354.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CB4987
RGBrgb(203, 73, 135)
HSLhsl(331, 56%, 54%)
HSVhsv(331, 64%, 80%)
CMYKcmyk(0%, 64%, 33.5%, 20.4%)
CIE-LABlab(50.94, 57.07, -7.02)
CIE-LCHlch(50.94, 57.50, 352.99°)
OKLaboklab(60% 0.1742 -0.0178)
OKLCHoklch(60% 0.175 354.2)
XYZxyz(31.3860, 19.2143, 24.9728)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4987 #49CB8D
analogous
#CB49C8 #CB4987 #CB4C49
triadic
#CB4987 #87CB49 #4987CB
tetradic
#CB4987 #C8CB49 #49CB8D #4C49CB
square
#CB4987 #C8CB49 #49CB8D #4C49CB
split-complementary
#CB4987 #49CB4C #49C8CB
monochromatic
#77224B #A73069 #CB4987 #D979A6 #E6A8C6

Accessibility & contrast

On white

4.34
#CB4987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CB4987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4987
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4987#FFFFFF#000000##000000
##CB49871.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A89
Deuteranopia (green-blind)
#828284
Tritanopia (blue-blind)
#DA4062
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4987;
/* rgb */ color: rgb(203, 73, 135);
/* oklch */ color: oklch(60.0% 0.175 354.2);
Tailwind
colors: {
  custom: {
    50: '#df83a9',
    500: '#cb4987',
    950: '#000000',
  },
}
SCSS
$custom: #cb4987;
$custom-light: #df83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4987",
  "rgb": {
    "r": 203,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 331.385,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.17512,
    "h": 354.2
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#CB4987
secondary
#9CD4B9
accent
#DF9749
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4987

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

Preview Lab → · Contrast checker → · Palette generator →

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