#CB387B#CB387B

#CB387B is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.191 H 357.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB387B
RGBrgb(203, 56, 123)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 72%, 80%)
CMYKcmyk(0%, 72.4%, 39.4%, 20.4%)
CIE-LABlab(48.21, 62.23, -3.83)
CIE-LCHlch(48.21, 62.35, 356.48°)
OKLaboklab(57.86% 0.191 -0.0093)
OKLCHoklch(57.86% 0.191 357.2)
XYZxyz(29.6200, 16.9586, 20.4486)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB387B #38CB88
analogous
#CB38C5 #CB387B #CB3E38
triadic
#CB387B #7BCB38 #387BCB
tetradic
#CB387B #C5CB38 #38CB88 #3E38CB
square
#CB387B #C5CB38 #38CB88 #3E38CB
split-complementary
#CB387B #38CB3E #38C5CB
monochromatic
#6C1C41 #9D295E #CB387B #D8699B #E499BB

Accessibility & contrast

On white

4.78
#CB387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CB387B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB387B#FFFFFF#000000##FFFFFF
##CB387B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617D
Deuteranopia (green-blind)
#7E7C78
Tritanopia (blue-blind)
#DB2655
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb387b;
/* rgb */ color: rgb(203, 56, 123);
/* oklch */ color: oklch(57.9% 0.191 357.2);
Tailwind
colors: {
  custom: {
    50: '#e07ba1',
    500: '#cb387b',
    950: '#000000',
  },
}
SCSS
$custom: #cb387b;
$custom-light: #e07ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb387b",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 332.653,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57863,
    "c": 0.1912,
    "h": 357.2
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#CB387B
secondary
#8FD0B2
accent
#E29B46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB387B

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

Preview Lab → · Contrast checker → · Palette generator →

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