#CF37BA#CF37BA

#CF37BA is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.1% C 0.231 H 334.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CF37BA
RGBrgb(207, 55, 186)
HSLhsl(308, 61%, 51%)
HSVhsv(308, 73%, 81%)
CMYKcmyk(0%, 73.4%, 10.1%, 18.8%)
CIE-LABlab(51.32, 71.46, -36.49)
CIE-LCHlch(51.32, 80.24, 332.95°)
OKLaboklab(61.09% 0.2077 -0.0999)
OKLCHoklch(61.09% 0.231 334.3)
XYZxyz(35.9616, 19.5461, 48.3236)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37BA #37CF4C
analogous
#9837CF #CF37BA #CF376E
triadic
#CF37BA #BACF37 #37BACF
tetradic
#CF37BA #CF9837 #37CF4C #376ECF
square
#CF37BA #CF9837 #37CF4C #376ECF
split-complementary
#CF37BA #6ECF37 #37CF98
monochromatic
#711B65 #A22791 #CF37BA #DB68CB #E79ADC

Accessibility & contrast

On white

4.28
#CF37BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CF37BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF37BA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF37BA#FFFFFF#000000##000000
##CF37BA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#6C82B6
Tritanopia (blue-blind)
#D94575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf37ba;
/* rgb */ color: rgb(207, 55, 186);
/* oklch */ color: oklch(61.1% 0.231 334.3);
Tailwind
colors: {
  custom: {
    50: '#e27dcf',
    500: '#cf37ba',
    950: '#000000',
  },
}
SCSS
$custom: #cf37ba;
$custom-light: #e27dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37ba",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 308.289,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.2305,
    "h": 334.3
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#CF37BA
secondary
#8FD299
accent
#E45A43
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CF37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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