#CB5F87#CB5F87

#CB5F87 is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.8% C 0.143 H 358.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CB5F87
RGBrgb(203, 95, 135)
HSLhsl(338, 51%, 58%)
HSVhsv(338, 53%, 80%)
CMYKcmyk(0%, 53.2%, 33.5%, 20.4%)
CIE-LABlab(54.69, 47.05, -1.46)
CIE-LCHlch(54.69, 47.07, 358.22°)
OKLaboklab(62.8% 0.1431 -0.0032)
OKLCHoklch(62.8% 0.143 358.7)
XYZxyz(33.0956, 22.6334, 25.5427)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5F87 #5FCBA3
analogous
#CB5FBD #CB5F87 #CB6D5F
triadic
#CB5F87 #87CB5F #5F87CB
tetradic
#CB5F87 #BDCB5F #5FCBA3 #6D5FCB
square
#CB5F87 #BDCB5F #5FCBA3 #6D5FCB
split-complementary
#CB5F87 #5FCB6D #5FBDCB
monochromatic
#852B4C #B33A67 #CB5F87 #DA8DAA #E9BBCC

Accessibility & contrast

On white

3.80
#CB5F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CB5F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5F87
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5F87#FFFFFF#000000##000000
##CB5F871.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#707688
Deuteranopia (green-blind)
#8C8A84
Tritanopia (blue-blind)
#DA576E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb5f87;
/* rgb */ color: rgb(203, 95, 135);
/* oklch */ color: oklch(62.8% 0.143 358.7);
Tailwind
colors: {
  custom: {
    50: '#de90a9',
    500: '#cb5f87',
    950: '#000000',
  },
}
SCSS
$custom: #cb5f87;
$custom-light: #de90a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5f87",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 337.778,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.628,
    "c": 0.1431,
    "h": 358.7
  },
  "luminance": 0.2263
}

Semantic roles & 50–950 ramp

primary
#CB5F87
secondary
#ADD8C8
accent
#DAA64D
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CB5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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