#CB5189#CB5189

#CB5189 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.165 H 354.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB5189
RGBrgb(203, 81, 137)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 60.1%, 32.5%, 20.4%)
CIE-LABlab(52.28, 53.86, -6.22)
CIE-LCHlch(52.28, 54.22, 353.42°)
OKLaboklab(61.02% 0.1641 -0.0157)
OKLCHoklch(61.02% 0.165 354.5)
XYZxyz(32.0880, 20.3908, 25.9080)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5189 #51CB93
analogous
#CB51C6 #CB5189 #CB5651
triadic
#CB5189 #89CB51 #5189CB
tetradic
#CB5189 #C6CB51 #51CB93 #5651CB
square
#CB5189 #C6CB51 #51CB93 #5651CB
split-complementary
#CB5189 #51CB56 #51C6CB
monochromatic
#7C254D #AC336A #CB5189 #D980A9 #E7AFC9

Accessibility & contrast

On white

4.14
#CB5189 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB5189 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5189
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5189#FFFFFF#000000##000000
##CB51891.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8B
Deuteranopia (green-blind)
#858586
Tritanopia (blue-blind)
#DA4967
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb5189;
/* rgb */ color: rgb(203, 81, 137);
/* oklch */ color: oklch(61.0% 0.165 354.5);
Tailwind
colors: {
  custom: {
    50: '#df88ab',
    500: '#cb5189',
    950: '#000000',
  },
}
SCSS
$custom: #cb5189;
$custom-light: #df88ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5189",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 332.459,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.1648,
    "h": 354.5
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#CB5189
secondary
#A3D5BE
accent
#DD9A4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5189

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

Preview Lab → · Contrast checker → · Palette generator →

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