#CB5187#CB5187

#CB5187 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.164 H 355.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CB5187
RGBrgb(203, 81, 135)
HSLhsl(333, 54%, 56%)
HSVhsv(333, 60%, 80%)
CMYKcmyk(0%, 60.1%, 33.5%, 20.4%)
CIE-LABlab(52.21, 53.62, -5.12)
CIE-LCHlch(52.21, 53.86, 354.55°)
OKLaboklab(60.95% 0.1634 -0.0128)
OKLCHoklch(60.95% 0.164 355.5)
XYZxyz(31.9459, 20.3340, 25.1594)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5187 #51CB95
analogous
#CB51C4 #CB5187 #CB5851
triadic
#CB5187 #87CB51 #5187CB
tetradic
#CB5187 #C4CB51 #51CB95 #5851CB
square
#CB5187 #C4CB51 #51CB95 #5851CB
split-complementary
#CB5187 #51CB58 #51C4CB
monochromatic
#7C254C #AC3368 #CB5187 #D980A7 #E7AFC8

Accessibility & contrast

On white

4.15
#CB5187 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CB5187 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5187
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5187#FFFFFF#000000##000000
##CB51871.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#DA4866
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb5187;
/* rgb */ color: rgb(203, 81, 135);
/* oklch */ color: oklch(60.9% 0.164 355.5);
Tailwind
colors: {
  custom: {
    50: '#df88a9',
    500: '#cb5187',
    950: '#000000',
  },
}
SCSS
$custom: #cb5187;
$custom-light: #df88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5187",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 333.443,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60948,
    "c": 0.16393,
    "h": 355.5
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#CB5187
secondary
#A3D5BF
accent
#DD9C4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5187

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

Preview Lab → · Contrast checker → · Palette generator →

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