#CB37A5#CB37A5

#CB37A5 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.5% C 0.214 H 340.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CB37A5
RGBrgb(203, 55, 165)
HSLhsl(315, 59%, 51%)
HSVhsv(315, 73%, 80%)
CMYKcmyk(0%, 72.9%, 18.7%, 20.4%)
CIE-LABlab(49.68, 67.58, -26.79)
CIE-LCHlch(49.68, 72.69, 338.38°)
OKLaboklab(59.45% 0.2017 -0.0723)
OKLCHoklch(59.45% 0.214 340.3)
XYZxyz(32.7872, 18.1487, 37.3663)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37A5 #37CB5D
analogous
#A737CB #CB37A5 #CB375B
triadic
#CB37A5 #A5CB37 #37A5CB
tetradic
#CB37A5 #CBA737 #37CB5D #375BCB
square
#CB37A5 #CBA737 #37CB5D #375BCB
split-complementary
#CB37A5 #5BCB37 #37CBA7
monochromatic
#6C1C57 #9C297F #CB37A5 #D868BB #E498D1

Accessibility & contrast

On white

4.54
#CB37A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CB37A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37A5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37A5#FFFFFF#000000##000000
##CB37A51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#717FA2
Tritanopia (blue-blind)
#D73B6A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb37a5;
/* rgb */ color: rgb(203, 55, 165);
/* oklch */ color: oklch(59.5% 0.214 340.3);
Tailwind
colors: {
  custom: {
    50: '#df7cc0',
    500: '#cb37a5',
    950: '#000000',
  },
}
SCSS
$custom: #cb37a5;
$custom-light: #df7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37a5",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 315.405,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.21424,
    "h": 340.3
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#CB37A5
secondary
#8ED09F
accent
#E26E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB37A5

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

Preview Lab → · Contrast checker → · Palette generator →

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