#CF37A8#CF37A8

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

Color values

HEX#CF37A8
RGBrgb(207, 55, 168)
HSLhsl(315, 61%, 51%)
HSVhsv(315, 73%, 81%)
CMYKcmyk(0%, 73.4%, 18.8%, 18.8%)
CIE-LABlab(50.49, 68.94, -27.25)
CIE-LCHlch(50.49, 74.13, 338.43°)
OKLaboklab(60.21% 0.2058 -0.0735)
OKLCHoklch(60.21% 0.219 340.3)
XYZxyz(34.1672, 18.8283, 38.8730)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37A8 #37CF5E
analogous
#AA37CF #CF37A8 #CF375C
triadic
#CF37A8 #A8CF37 #37A8CF
tetradic
#CF37A8 #CFAA37 #37CF5E #375CCF
square
#CF37A8 #CFAA37 #37CF5E #375CCF
split-complementary
#CF37A8 #5CCF37 #37CFAA
monochromatic
#711B5B #A22782 #CF37A8 #DB68BD #E79AD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF37A8#FFFFFF#000000##000000
##CF37A81.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)
#4269AB
Deuteranopia (green-blind)
#7381A4
Tritanopia (blue-blind)
#DB3B6B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf37a8;
/* rgb */ color: rgb(207, 55, 168);
/* oklch */ color: oklch(60.2% 0.219 340.3);
Tailwind
colors: {
  custom: {
    50: '#e27cc2',
    500: '#cf37a8',
    950: '#000000',
  },
}
SCSS
$custom: #cf37a8;
$custom-light: #e27cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37a8",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 315.395,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60211,
    "c": 0.21858,
    "h": 340.3
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF37A8

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

Preview Lab → · Contrast checker → · Palette generator →

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