#CF39B1#CF39B1

#CF39B1 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.8% C 0.222 H 337.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CF39B1
RGBrgb(207, 57, 177)
HSLhsl(312, 61%, 52%)
HSVhsv(312, 72%, 81%)
CMYKcmyk(0%, 72.5%, 14.5%, 18.8%)
CIE-LABlab(51.12, 69.54, -31.55)
CIE-LCHlch(51.12, 76.36, 335.59°)
OKLaboklab(60.8% 0.205 -0.0858)
OKLCHoklch(60.8% 0.222 337.3)
XYZxyz(35.1317, 19.3692, 43.4748)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF39B1 #39CF57
analogous
#A239CF #CF39B1 #CF3966
triadic
#CF39B1 #B1CF39 #39B1CF
tetradic
#CF39B1 #CFA239 #39CF57 #3966CF
square
#CF39B1 #CFA239 #39CF57 #3966CF
split-complementary
#CF39B1 #66CF39 #39CFA2
monochromatic
#721C61 #A3288A #CF39B1 #DB6AC4 #E79CD8

Accessibility & contrast

On white

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

On black

4.87
#CF39B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF39B1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF39B1#FFFFFF#000000##000000
##CF39B11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#7182AD
Tritanopia (blue-blind)
#DA4271
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf39b1;
/* rgb */ color: rgb(207, 57, 177);
/* oklch */ color: oklch(60.8% 0.222 337.3);
Tailwind
colors: {
  custom: {
    50: '#e27dc8',
    500: '#cf39b1',
    950: '#000000',
  },
}
SCSS
$custom: #cf39b1;
$custom-light: #e27dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf39b1",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 312,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.22225,
    "h": 337.3
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#CF39B1
secondary
#91D39E
accent
#E46444
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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