#CF37A7#CF37A7

#CF37A7 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.2% C 0.218 H 340.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF37A7
RGBrgb(207, 55, 167)
HSLhsl(316, 61%, 51%)
HSVhsv(316, 73%, 81%)
CMYKcmyk(0%, 73.4%, 19.3%, 18.8%)
CIE-LABlab(50.44, 68.81, -26.73)
CIE-LCHlch(50.44, 73.82, 338.77°)
OKLaboklab(60.17% 0.2057 -0.072)
OKLCHoklch(60.17% 0.218 340.7)
XYZxyz(34.0744, 18.7912, 38.3843)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37A7 #37CF5F
analogous
#AB37CF #CF37A7 #CF375B
triadic
#CF37A7 #A7CF37 #37A7CF
tetradic
#CF37A7 #CFAB37 #37CF5F #375BCF
square
#CF37A7 #CFAB37 #37CF5F #375BCF
split-complementary
#CF37A7 #5BCF37 #37CFAB
monochromatic
#711B5A #A22782 #CF37A7 #DB68BD #E79AD2

Accessibility & contrast

On white

4.41
#CF37A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CF37A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF37A7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF37A7#FFFFFF#000000##000000
##CF37A71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4368AA
Deuteranopia (green-blind)
#7481A3
Tritanopia (blue-blind)
#DB3B6B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf37a7;
/* rgb */ color: rgb(207, 55, 167);
/* oklch */ color: oklch(60.2% 0.218 340.7);
Tailwind
colors: {
  custom: {
    50: '#e27cc1',
    500: '#cf37a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf37a7;
$custom-light: #e27cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37a7",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 315.789,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.21794,
    "h": 340.7
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#CF37A7
secondary
#8FD2A1
accent
#E46E43
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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