#CF37B6#CF37B6

#CF37B6 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.228 H 335.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF37B6
RGBrgb(207, 55, 182)
HSLhsl(310, 61%, 51%)
HSVhsv(310, 73%, 81%)
CMYKcmyk(0%, 73.4%, 12.1%, 18.8%)
CIE-LABlab(51.13, 70.88, -34.46)
CIE-LCHlch(51.13, 78.82, 334.07°)
OKLaboklab(60.88% 0.2074 -0.0941)
OKLCHoklch(60.88% 0.228 335.6)
XYZxyz(35.5423, 19.3784, 46.1154)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37B6 #37CF50
analogous
#9C37CF #CF37B6 #CF376A
triadic
#CF37B6 #B6CF37 #37B6CF
tetradic
#CF37B6 #CF9C37 #37CF50 #376ACF
square
#CF37B6 #CF9C37 #37CF50 #376ACF
split-complementary
#CF37B6 #6ACF37 #37CF9C
monochromatic
#711B63 #A2278E #CF37B6 #DB68C8 #E79ADA

Accessibility & contrast

On white

4.31
#CF37B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CF37B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF37B6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF37B6#FFFFFF#000000##000000
##CF37B61.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#386BB9
Deuteranopia (green-blind)
#6E82B2
Tritanopia (blue-blind)
#D94373
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf37b6;
/* rgb */ color: rgb(207, 55, 182);
/* oklch */ color: oklch(60.9% 0.228 335.6);
Tailwind
colors: {
  custom: {
    50: '#e27dcc',
    500: '#cf37b6',
    950: '#000000',
  },
}
SCSS
$custom: #cf37b6;
$custom-light: #e27dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37b6",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 309.868,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60883,
    "c": 0.22776,
    "h": 335.6
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#CF37B6
secondary
#8FD29A
accent
#E45E43
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF37B6

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

Preview Lab → · Contrast checker → · Palette generator →

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