#CB3781#CB3781

#CB3781 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 58.0% C 0.195 H 354.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CB3781
RGBrgb(203, 55, 129)
HSLhsl(330, 59%, 51%)
HSVhsv(330, 73%, 80%)
CMYKcmyk(0%, 72.9%, 36.5%, 20.4%)
CIE-LABlab(48.28, 63.20, -7.36)
CIE-LCHlch(48.28, 63.63, 353.36°)
OKLaboklab(57.98% 0.1938 -0.0186)
OKLCHoklch(57.98% 0.195 354.5)
XYZxyz(29.9591, 17.0175, 22.4717)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3781 #37CB81
analogous
#CB37CB #CB3781 #CB3737
triadic
#CB3781 #81CB37 #3781CB
tetradic
#CB3781 #CBCB37 #37CB81 #3737CB
square
#CB3781 #CBCB37 #37CB81 #3737CB
split-complementary
#CB3781 #37CB37 #37CBCB
monochromatic
#6C1C44 #9C2962 #CB3781 #D868A0 #E498BE

Accessibility & contrast

On white

4.77
#CB3781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CB3781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3781
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3781#FFFFFF#000000##FFFFFF
##CB37811.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536183
Deuteranopia (green-blind)
#7C7D7E
Tritanopia (blue-blind)
#DB2857
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3781;
/* rgb */ color: rgb(203, 55, 129);
/* oklch */ color: oklch(58.0% 0.195 354.5);
Tailwind
colors: {
  custom: {
    50: '#e07aa5',
    500: '#cb3781',
    950: '#000000',
  },
}
SCSS
$custom: #cb3781;
$custom-light: #e07aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3781",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 330,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57982,
    "c": 0.19473,
    "h": 354.5
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#CB3781
secondary
#8ED0AF
accent
#E29446
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB3781

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

Preview Lab → · Contrast checker → · Palette generator →

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