#CB37B2#CB37B2

#CB37B2 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.1% C 0.223 H 335.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB37B2
RGBrgb(203, 55, 178)
HSLhsl(310, 59%, 51%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 72.9%, 12.3%, 20.4%)
CIE-LABlab(50.27, 69.39, -33.51)
CIE-LCHlch(50.27, 77.06, 334.22°)
OKLaboklab(60.08% 0.2032 -0.0914)
OKLCHoklch(60.08% 0.223 335.8)
XYZxyz(34.0312, 18.6463, 43.9176)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37B2 #37CB50
analogous
#9A37CB #CB37B2 #CB3768
triadic
#CB37B2 #B2CB37 #37B2CB
tetradic
#CB37B2 #CB9A37 #37CB50 #3768CB
square
#CB37B2 #CB9A37 #37CB50 #3768CB
split-complementary
#CB37B2 #68CB37 #37CB9A
monochromatic
#6C1C5E #9C2989 #CB37B2 #D868C5 #E498D7

Accessibility & contrast

On white

4.44
#CB37B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CB37B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37B2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37B2#FFFFFF#000000##000000
##CB37B21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#6C80AE
Tritanopia (blue-blind)
#D54271
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb37b2;
/* rgb */ color: rgb(203, 55, 178);
/* oklch */ color: oklch(60.1% 0.223 335.8);
Tailwind
colors: {
  custom: {
    50: '#df7cc9',
    500: '#cb37b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb37b2;
$custom-light: #df7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37b2",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 310.135,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.22283,
    "h": 335.8
  },
  "luminance": 0.18643
}

Semantic roles & 50–950 ramp

primary
#CB37B2
secondary
#8ED099
accent
#E26046
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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