#CF2D82#CF2D82

#CF2D82 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.208 H 354.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CF2D82
RGBrgb(207, 45, 130)
HSLhsl(329, 64%, 49%)
HSVhsv(329, 78%, 81%)
CMYKcmyk(0%, 78.3%, 37.2%, 18.8%)
CIE-LABlab(47.95, 67.41, -8.38)
CIE-LCHlch(47.95, 67.93, 352.91°)
OKLaboklab(57.89% 0.2072 -0.0213)
OKLCHoklch(57.89% 0.208 354.1)
XYZxyz(30.7018, 16.7577, 22.7326)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2D82 #2DCF7A
analogous
#CB2DCF #CF2D82 #CF2D31
triadic
#CF2D82 #82CF2D #2D82CF
tetradic
#CF2D82 #CFCB2D #2DCF7A #2D31CF
square
#CF2D82 #CFCB2D #2DCF7A #2D31CF
split-complementary
#CF2D82 #31CF2D #2DCFCB
monochromatic
#6A1743 #9D2262 #CF2D82 #DC5DA0 #E790BD

Accessibility & contrast

On white

4.83
#CF2D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CF2D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2D82
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2D82#FFFFFF#000000##FFFFFF
##CF2D821.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#7C7C7E
Tritanopia (blue-blind)
#DF1754
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2d82;
/* rgb */ color: rgb(207, 45, 130);
/* oklch */ color: oklch(57.9% 0.208 354.1);
Tailwind
colors: {
  custom: {
    50: '#e377a6',
    500: '#cf2d82',
    950: '#000000',
  },
}
SCSS
$custom: #cf2d82;
$custom-light: #e377a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2d82",
  "rgb": {
    "r": 207,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 328.519,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.20827,
    "h": 354.1
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#CF2D82
secondary
#87D1AA
accent
#E79041
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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