#CB5186#CB5186

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

Color values

HEX#CB5186
RGBrgb(203, 81, 134)
HSLhsl(334, 54%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 60.1%, 34%, 20.4%)
CIE-LABlab(52.18, 53.50, -4.57)
CIE-LCHlch(52.18, 53.69, 355.12°)
OKLaboklab(60.92% 0.1631 -0.0114)
OKLCHoklch(60.92% 0.164 356)
XYZxyz(31.8758, 20.3060, 24.7904)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5186 #51CB96
analogous
#CB51C3 #CB5186 #CB5951
triadic
#CB5186 #86CB51 #5186CB
tetradic
#CB5186 #C3CB51 #51CB96 #5951CB
square
#CB5186 #C3CB51 #51CB96 #5951CB
split-complementary
#CB5186 #51CB59 #51C3CB
monochromatic
#7C254B #AC3368 #CB5186 #D980A7 #E7AFC8

Accessibility & contrast

On white

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

On black

5.06
#CB5186 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5186
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5186#FFFFFF#000000##000000
##CB51861.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb5186;
/* rgb */ color: rgb(203, 81, 134);
/* oklch */ color: oklch(60.9% 0.164 356.0);
Tailwind
colors: {
  custom: {
    50: '#df88a9',
    500: '#cb5186',
    950: '#000000',
  },
}
SCSS
$custom: #cb5186;
$custom-light: #df88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5186",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 333.934,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60915,
    "c": 0.1635,
    "h": 356
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#CB5186
secondary
#A3D5BF
accent
#DD9E4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5186

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

Preview Lab → · Contrast checker → · Palette generator →

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