#CB37B1#CB37B1

#CB37B1 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.0% C 0.222 H 336.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CB37B1
RGBrgb(203, 55, 177)
HSLhsl(311, 59%, 51%)
HSVhsv(311, 73%, 80%)
CMYKcmyk(0%, 72.9%, 12.8%, 20.4%)
CIE-LABlab(50.22, 69.25, -33.00)
CIE-LCHlch(50.22, 76.71, 334.52°)
OKLaboklab(60.03% 0.2031 -0.0899)
OKLCHoklch(60.03% 0.222 336.1)
XYZxyz(33.9311, 18.6063, 43.3908)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37B1 #37CB51
analogous
#9B37CB #CB37B1 #CB3767
triadic
#CB37B1 #B1CB37 #37B1CB
tetradic
#CB37B1 #CB9B37 #37CB51 #3767CB
square
#CB37B1 #CB9B37 #37CB51 #3767CB
split-complementary
#CB37B1 #67CB37 #37CB9B
monochromatic
#6C1C5E #9C2988 #CB37B1 #D868C4 #E498D7

Accessibility & contrast

On white

4.45
#CB37B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CB37B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37B1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37B1#FFFFFF#000000##000000
##CB37B11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3969B4
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#D54170
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb37b1;
/* rgb */ color: rgb(203, 55, 177);
/* oklch */ color: oklch(60.0% 0.222 336.1);
Tailwind
colors: {
  custom: {
    50: '#df7cc8',
    500: '#cb37b1',
    950: '#000000',
  },
}
SCSS
$custom: #cb37b1;
$custom-light: #df7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37b1",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 310.541,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.22214,
    "h": 336.1
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#CB37B1
secondary
#8ED09A
accent
#E26146
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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