#CB5173#CB5173

#CB5173 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.157 H 5.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB5173
RGBrgb(203, 81, 115)
HSLhsl(343, 54%, 56%)
HSVhsv(343, 60%, 80%)
CMYKcmyk(0%, 60.1%, 43.3%, 20.4%)
CIE-LABlab(51.64, 51.40, 5.99)
CIE-LCHlch(51.64, 51.75, 6.64°)
OKLaboklab(60.33% 0.1566 0.016)
OKLCHoklch(60.33% 0.157 5.8)
XYZxyz(30.6676, 19.8227, 18.4275)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5173 #51CBA9
analogous
#CB51B0 #CB5173 #CB6C51
triadic
#CB5173 #73CB51 #5173CB
tetradic
#CB5173 #B0CB51 #51CBA9 #6C51CB
square
#CB5173 #B0CB51 #51CBA9 #6C51CB
split-complementary
#CB5173 #51CB6C #51B0CB
monochromatic
#7C253D #AC3355 #CB5173 #D98099 #E7AFBF

Accessibility & contrast

On white

4.23
#CB5173 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB5173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5173
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5173#FFFFFF#000000##000000
##CB51731.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C74
Deuteranopia (green-blind)
#898470
Tritanopia (blue-blind)
#DC425E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5173;
/* rgb */ color: rgb(203, 81, 115);
/* oklch */ color: oklch(60.3% 0.157 5.8);
Tailwind
colors: {
  custom: {
    50: '#df879b',
    500: '#cb5173',
    950: '#000000',
  },
}
SCSS
$custom: #cb5173;
$custom-light: #df879b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5173",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 343.279,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.15737,
    "h": 5.8
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#CB5173
secondary
#A3D5C7
accent
#DDB44A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5173

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

Preview Lab → · Contrast checker → · Palette generator →

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