#CB5172#CB5172

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

Color values

HEX#CB5172
RGBrgb(203, 81, 114)
HSLhsl(344, 54%, 56%)
HSVhsv(344, 60%, 80%)
CMYKcmyk(0%, 60.1%, 43.8%, 20.4%)
CIE-LABlab(51.61, 51.30, 6.55)
CIE-LCHlch(51.61, 51.72, 7.27°)
OKLaboklab(60.3% 0.1562 0.0174)
OKLCHoklch(60.3% 0.157 6.3)
XYZxyz(30.6104, 19.7998, 18.1261)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5172 #51CBAA
analogous
#CB51AF #CB5172 #CB6D51
triadic
#CB5172 #72CB51 #5172CB
tetradic
#CB5172 #AFCB51 #51CBAA #6D51CB
square
#CB5172 #AFCB51 #51CBAA #6D51CB
split-complementary
#CB5172 #51CB6D #51AFCB
monochromatic
#7C253D #AC3354 #CB5172 #D98098 #E7AFBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5172#FFFFFF#000000##000000
##CB51721.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)
#6A6C73
Deuteranopia (green-blind)
#89846F
Tritanopia (blue-blind)
#DC425E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5172;
/* rgb */ color: rgb(203, 81, 114);
/* oklch */ color: oklch(60.3% 0.157 6.3);
Tailwind
colors: {
  custom: {
    50: '#df879a',
    500: '#cb5172',
    950: '#000000',
  },
}
SCSS
$custom: #cb5172;
$custom-light: #df879a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5172",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 343.77,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.15715,
    "h": 6.3
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#CB5172
secondary
#A3D5C8
accent
#DDB64A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5172

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

Preview Lab → · Contrast checker → · Palette generator →

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