#CB5181#CB5181

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

Color values

HEX#CB5181
RGBrgb(203, 81, 129)
HSLhsl(336, 54%, 56%)
HSVhsv(336, 60%, 80%)
CMYKcmyk(0%, 60.1%, 36.5%, 20.4%)
CIE-LABlab(52.03, 52.92, -1.82)
CIE-LCHlch(52.03, 52.95, 358.04°)
OKLaboklab(60.75% 0.1615 -0.0041)
OKLCHoklch(60.75% 0.162 358.5)
XYZxyz(31.5353, 20.1698, 22.9970)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5181 #51CB9B
analogous
#CB51BE #CB5181 #CB5E51
triadic
#CB5181 #81CB51 #5181CB
tetradic
#CB5181 #BECB51 #51CB9B #5E51CB
square
#CB5181 #BECB51 #51CB9B #5E51CB
split-complementary
#CB5181 #51CB5E #51BECB
monochromatic
#7C2548 #AC3363 #CB5181 #D980A3 #E7AFC5

Accessibility & contrast

On white

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

On black

5.03
#CB5181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5181
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5181#FFFFFF#000000##000000
##CB51811.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb5181;
/* rgb */ color: rgb(203, 81, 129);
/* oklch */ color: oklch(60.8% 0.162 358.5);
Tailwind
colors: {
  custom: {
    50: '#df88a5',
    500: '#cb5181',
    950: '#000000',
  },
}
SCSS
$custom: #cb5181;
$custom-light: #df88a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5181",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 336.393,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.16152,
    "h": 358.5
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5181

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

Preview Lab → · Contrast checker → · Palette generator →

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