#CB5F8A#CB5F8A

#CB5F8A is a light, vivid pink. Relative luminance 0.227; OKLCH L 62.9% C 0.144 H 357.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CB5F8A
RGBrgb(203, 95, 138)
HSLhsl(336, 51%, 58%)
HSVhsv(336, 53%, 80%)
CMYKcmyk(0%, 53.2%, 32%, 20.4%)
CIE-LABlab(54.78, 47.42, -3.10)
CIE-LCHlch(54.78, 47.53, 356.26°)
OKLaboklab(62.9% 0.1441 -0.0075)
OKLCHoklch(62.9% 0.144 357)
XYZxyz(33.3098, 22.7191, 26.6708)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5F8A #5FCBA0
analogous
#CB5FC0 #CB5F8A #CB6A5F
triadic
#CB5F8A #8ACB5F #5F8ACB
tetradic
#CB5F8A #C0CB5F #5FCBA0 #6A5FCB
square
#CB5F8A #C0CB5F #5FCBA0 #6A5FCB
split-complementary
#CB5F8A #5FCB6A #5FC0CB
monochromatic
#852B4F #B33A6A #CB5F8A #DA8DAC #E9BBCE

Accessibility & contrast

On white

3.79
#CB5F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CB5F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5F8A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5F8A#FFFFFF#000000##000000
##CB5F8A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F778B
Deuteranopia (green-blind)
#8B8B87
Tritanopia (blue-blind)
#D9586F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb5f8a;
/* rgb */ color: rgb(203, 95, 138);
/* oklch */ color: oklch(62.9% 0.144 357.0);
Tailwind
colors: {
  custom: {
    50: '#de90ac',
    500: '#cb5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb5f8a;
$custom-light: #de90ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5f8a",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 336.111,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62896,
    "c": 0.14428,
    "h": 357
  },
  "luminance": 0.22716
}

Semantic roles & 50–950 ramp

primary
#CB5F8A
secondary
#ADD8C7
accent
#DAA24D
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CB5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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