#CF39B2#CF39B2

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

Color values

HEX#CF39B2
RGBrgb(207, 57, 178)
HSLhsl(312, 61%, 52%)
HSVhsv(312, 72%, 81%)
CMYKcmyk(0%, 72.5%, 14%, 18.8%)
CIE-LABlab(51.16, 69.68, -32.07)
CIE-LCHlch(51.16, 76.70, 335.29°)
OKLaboklab(60.85% 0.2052 -0.0872)
OKLCHoklch(60.85% 0.223 337)
XYZxyz(35.2318, 19.4092, 44.0017)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF39B2 #39CF56
analogous
#A139CF #CF39B2 #CF3967
triadic
#CF39B2 #B2CF39 #39B2CF
tetradic
#CF39B2 #CFA139 #39CF56 #3967CF
square
#CF39B2 #CFA139 #39CF56 #3967CF
split-complementary
#CF39B2 #67CF39 #39CFA1
monochromatic
#721C61 #A3288B #CF39B2 #DB6AC5 #E79CD8

Accessibility & contrast

On white

4.30
#CF39B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF39B2#FFFFFF#000000##000000
##CF39B21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#7082AE
Tritanopia (blue-blind)
#DA4271
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf39b2;
/* rgb */ color: rgb(207, 57, 178);
/* oklch */ color: oklch(60.8% 0.223 337.0);
Tailwind
colors: {
  custom: {
    50: '#e27dc9',
    500: '#cf39b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf39b2;
$custom-light: #e27dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf39b2",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 311.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60847,
    "c": 0.22293,
    "h": 337
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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