#CB3581#CB3581

#CB3581 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.8% C 0.197 H 354.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CB3581
RGBrgb(203, 53, 129)
HSLhsl(330, 59%, 50%)
HSVhsv(330, 74%, 80%)
CMYKcmyk(0%, 73.9%, 36.5%, 20.4%)
CIE-LABlab(48.05, 63.86, -7.71)
CIE-LCHlch(48.05, 64.33, 353.11°)
OKLaboklab(57.81% 0.1959 -0.0196)
OKLCHoklch(57.81% 0.197 354.3)
XYZxyz(29.8661, 16.8313, 22.4406)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3581 #35CB7F
analogous
#CA35CB #CB3581 #CB3536
triadic
#CB3581 #81CB35 #3581CB
tetradic
#CB3581 #CBCA35 #35CB7F #3536CB
square
#CB3581 #CBCA35 #35CB7F #3536CB
split-complementary
#CB3581 #36CB35 #35CBCA
monochromatic
#6A1B43 #9B2862 #CB3581 #D8669F #E496BE

Accessibility & contrast

On white

4.81
#CB3581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CB3581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3581
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3581#FFFFFF#000000##FFFFFF
##CB35811.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526083
Deuteranopia (green-blind)
#7C7C7E
Tritanopia (blue-blind)
#DB2556
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3581;
/* rgb */ color: rgb(203, 53, 129);
/* oklch */ color: oklch(57.8% 0.197 354.3);
Tailwind
colors: {
  custom: {
    50: '#e07aa5',
    500: '#cb3581',
    950: '#000000',
  },
}
SCSS
$custom: #cb3581;
$custom-light: #e07aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3581",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 329.6,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.19691,
    "h": 354.3
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#CB3581
secondary
#8CCFAD
accent
#E29346
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB3581

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

Preview Lab → · Contrast checker → · Palette generator →

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