#CB37A7#CB37A7

#CB37A7 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.5% C 0.216 H 339.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CB37A7
RGBrgb(203, 55, 167)
HSLhsl(315, 59%, 51%)
HSVhsv(315, 73%, 80%)
CMYKcmyk(0%, 72.9%, 17.7%, 20.4%)
CIE-LABlab(49.76, 67.85, -27.83)
CIE-LCHlch(49.76, 73.34, 337.70°)
OKLaboklab(59.55% 0.202 -0.0752)
OKLCHoklch(59.55% 0.216 339.6)
XYZxyz(32.9707, 18.2221, 38.3325)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37A7 #37CB5B
analogous
#A537CB #CB37A7 #CB375D
triadic
#CB37A7 #A7CB37 #37A7CB
tetradic
#CB37A7 #CBA537 #37CB5B #375DCB
square
#CB37A7 #CBA537 #37CB5B #375DCB
split-complementary
#CB37A7 #5DCB37 #37CBA5
monochromatic
#6C1C58 #9C2980 #CB37A7 #D868BC #E498D2

Accessibility & contrast

On white

4.52
#CB37A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CB37A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37A7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37A7#FFFFFF#000000##000000
##CB37A71.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4067AA
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#D73C6B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb37a7;
/* rgb */ color: rgb(203, 55, 167);
/* oklch */ color: oklch(59.5% 0.216 339.6);
Tailwind
colors: {
  custom: {
    50: '#df7cc1',
    500: '#cb37a7',
    950: '#000000',
  },
}
SCSS
$custom: #cb37a7;
$custom-light: #df7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37a7",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 314.595,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.21552,
    "h": 339.6
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#CB37A7
secondary
#8ED09E
accent
#E26C46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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