#CB5176#CB5176

#CB5176 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.158 H 4.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB5176
RGBrgb(203, 81, 118)
HSLhsl(342, 54%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 60.1%, 41.9%, 20.4%)
CIE-LABlab(51.72, 51.71, 4.30)
CIE-LCHlch(51.72, 51.89, 4.76°)
OKLaboklab(60.42% 0.1577 0.0117)
OKLCHoklch(60.42% 0.158 4.2)
XYZxyz(30.8431, 19.8929, 19.3515)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5176 #51CBA6
analogous
#CB51B3 #CB5176 #CB6951
triadic
#CB5176 #76CB51 #5176CB
tetradic
#CB5176 #B3CB51 #51CBA6 #6951CB
square
#CB5176 #B3CB51 #51CBA6 #6951CB
split-complementary
#CB5176 #51CB69 #51B3CB
monochromatic
#7C2540 #AC3358 #CB5176 #D9809B #E7AFC0

Accessibility & contrast

On white

4.22
#CB5176 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB5176 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5176
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5176#FFFFFF#000000##000000
##CB51761.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C77
Deuteranopia (green-blind)
#898473
Tritanopia (blue-blind)
#DB435F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5176;
/* rgb */ color: rgb(203, 81, 118);
/* oklch */ color: oklch(60.4% 0.158 4.2);
Tailwind
colors: {
  custom: {
    50: '#df879d',
    500: '#cb5176',
    950: '#000000',
  },
}
SCSS
$custom: #cb5176;
$custom-light: #df879d;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5176",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 118
  },
  "hsl": {
    "h": 341.803,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.15808,
    "h": 4.2
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#CB5176
secondary
#A3D5C6
accent
#DDB14A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5176

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

Preview Lab → · Contrast checker → · Palette generator →

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