#CB387A#CB387A

#CB387A is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.191 H 357.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB387A
RGBrgb(203, 56, 122)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 72%, 80%)
CMYKcmyk(0%, 72.4%, 39.9%, 20.4%)
CIE-LABlab(48.18, 62.13, -3.27)
CIE-LCHlch(48.18, 62.21, 356.99°)
OKLaboklab(57.83% 0.1907 -0.0078)
OKLCHoklch(57.83% 0.191 357.7)
XYZxyz(29.5577, 16.9337, 20.1206)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB387A #38CB89
analogous
#CB38C4 #CB387A #CB3F38
triadic
#CB387A #7ACB38 #387ACB
tetradic
#CB387A #C4CB38 #38CB89 #3F38CB
square
#CB387A #C4CB38 #38CB89 #3F38CB
split-complementary
#CB387A #38CB3F #38C4CB
monochromatic
#6C1C40 #9D295D #CB387A #D8699A #E499BB

Accessibility & contrast

On white

4.79
#CB387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CB387A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB387A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB387A#FFFFFF#000000##FFFFFF
##CB387A1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#7E7C77
Tritanopia (blue-blind)
#DB2554
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb387a;
/* rgb */ color: rgb(203, 56, 122);
/* oklch */ color: oklch(57.8% 0.191 357.7);
Tailwind
colors: {
  custom: {
    50: '#e07ba0',
    500: '#cb387a',
    950: '#000000',
  },
}
SCSS
$custom: #cb387a;
$custom-light: #e07ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb387a",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 333.061,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.19082,
    "h": 357.7
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#CB387A
secondary
#8FD0B3
accent
#E29C46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB387A

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

Preview Lab → · Contrast checker → · Palette generator →

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