#CB3987#CB3987

#CB3987 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.195 H 352.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CB3987
RGBrgb(203, 57, 135)
HSLhsl(328, 58%, 51%)
HSVhsv(328, 72%, 80%)
CMYKcmyk(0%, 71.9%, 33.5%, 20.4%)
CIE-LABlab(48.73, 63.18, -10.32)
CIE-LCHlch(48.73, 64.02, 350.73°)
OKLaboklab(58.38% 0.1934 -0.0266)
OKLCHoklch(58.38% 0.195 352.2)
XYZxyz(30.4667, 17.3756, 24.6664)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3987 #39CB7D
analogous
#C639CB #CB3987 #CB393E
triadic
#CB3987 #87CB39 #3987CB
tetradic
#CB3987 #CBC639 #39CB7D #393ECB
square
#CB3987 #CBC639 #39CB7D #393ECB
split-complementary
#CB3987 #3ECB39 #39CBC6
monochromatic
#6D1D48 #9D2967 #CB3987 #D869A4 #E49AC2

Accessibility & contrast

On white

4.69
#CB3987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CB3987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3987
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3987#FFFFFF#000000##FFFFFF
##CB39871.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#DA2E5B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3987;
/* rgb */ color: rgb(203, 57, 135);
/* oklch */ color: oklch(58.4% 0.195 352.2);
Tailwind
colors: {
  custom: {
    50: '#e07baa',
    500: '#cb3987',
    950: '#000000',
  },
}
SCSS
$custom: #cb3987;
$custom-light: #e07baa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3987",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 327.945,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.19518,
    "h": 352.2
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#CB3987
secondary
#90D0AE
accent
#E28F46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB3987

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

Preview Lab → · Contrast checker → · Palette generator →

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