#CB5182#CB5182

#CB5182 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.162 H 358.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CB5182
RGBrgb(203, 81, 130)
HSLhsl(336, 54%, 56%)
HSVhsv(336, 60%, 80%)
CMYKcmyk(0%, 60.1%, 36%, 20.4%)
CIE-LABlab(52.06, 53.03, -2.37)
CIE-LCHlch(52.06, 53.08, 357.44°)
OKLaboklab(60.78% 0.1618 -0.0055)
OKLCHoklch(60.78% 0.162 358)
XYZxyz(31.6021, 20.1965, 23.3488)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5182 #51CB9A
analogous
#CB51BF #CB5182 #CB5D51
triadic
#CB5182 #82CB51 #5182CB
tetradic
#CB5182 #BFCB51 #51CB9A #5D51CB
square
#CB5182 #BFCB51 #51CB9A #5D51CB
split-complementary
#CB5182 #51CB5D #51BFCB
monochromatic
#7C2548 #AC3364 #CB5182 #D980A4 #E7AFC6

Accessibility & contrast

On white

4.17
#CB5182 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CB5182 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5182
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5182#FFFFFF#000000##000000
##CB51821.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666E83
Deuteranopia (green-blind)
#86857F
Tritanopia (blue-blind)
#DA4764
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb5182;
/* rgb */ color: rgb(203, 81, 130);
/* oklch */ color: oklch(60.8% 0.162 358.0);
Tailwind
colors: {
  custom: {
    50: '#df88a6',
    500: '#cb5182',
    950: '#000000',
  },
}
SCSS
$custom: #cb5182;
$custom-light: #df88a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5182",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 335.902,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60783,
    "c": 0.1619,
    "h": 358
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#CB5182
secondary
#A3D5C1
accent
#DDA24A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5182

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

Preview Lab → · Contrast checker → · Palette generator →

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