#CB3981#CB3981

#CB3981 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.2% C 0.192 H 354.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB3981
RGBrgb(203, 57, 129)
HSLhsl(330, 58%, 51%)
HSVhsv(330, 72%, 80%)
CMYKcmyk(0%, 71.9%, 36.5%, 20.4%)
CIE-LABlab(48.53, 62.52, -7.00)
CIE-LCHlch(48.53, 62.91, 353.61°)
OKLaboklab(58.16% 0.1917 -0.0177)
OKLCHoklch(58.16% 0.192 354.7)
XYZxyz(30.0561, 17.2114, 22.5040)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3981 #39CB83
analogous
#CB39CA #CB3981 #CB3A39
triadic
#CB3981 #81CB39 #3981CB
tetradic
#CB3981 #CACB39 #39CB83 #3A39CB
square
#CB3981 #CACB39 #39CB83 #3A39CB
split-complementary
#CB3981 #39CB3A #39CACB
monochromatic
#6D1D44 #9D2963 #CB3981 #D869A0 #E49ABF

Accessibility & contrast

On white

4.73
#CB3981 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CB3981 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3981
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3981#FFFFFF#000000##FFFFFF
##CB39811.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546283
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#DB2B58
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3981;
/* rgb */ color: rgb(203, 57, 129);
/* oklch */ color: oklch(58.2% 0.192 354.7);
Tailwind
colors: {
  custom: {
    50: '#e07ba5',
    500: '#cb3981',
    950: '#000000',
  },
}
SCSS
$custom: #cb3981;
$custom-light: #e07ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3981",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 129
  },
  "hsl": {
    "h": 330.411,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5816,
    "c": 0.19249,
    "h": 354.7
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#CB3981
secondary
#90D0B0
accent
#E29546
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB3981

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

Preview Lab → · Contrast checker → · Palette generator →

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