#CF2E84#CF2E84

#CF2E84 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.0% C 0.208 H 353.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CF2E84
RGBrgb(207, 46, 132)
HSLhsl(328, 64%, 50%)
HSVhsv(328, 78%, 81%)
CMYKcmyk(0%, 77.8%, 36.2%, 18.8%)
CIE-LABlab(48.12, 67.33, -9.35)
CIE-LCHlch(48.12, 67.98, 352.10°)
OKLaboklab(58.03% 0.2068 -0.0239)
OKLCHoklch(58.03% 0.208 353.4)
XYZxyz(30.8760, 16.8892, 23.4593)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E84 #2ECF79
analogous
#C92ECF #CF2E84 #CF2E34
triadic
#CF2E84 #84CF2E #2E84CF
tetradic
#CF2E84 #CFC92E #2ECF79 #2E34CF
square
#CF2E84 #CFC92E #2ECF79 #2E34CF
split-complementary
#CF2E84 #34CF2E #2ECFC9
monochromatic
#6B1844 #9D2364 #CF2E84 #DB5FA1 #E791BF

Accessibility & contrast

On white

4.80
#CF2E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CF2E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E84
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E84#FFFFFF#000000##FFFFFF
##CF2E841.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6086
Deuteranopia (green-blind)
#7C7D80
Tritanopia (blue-blind)
#DF1A56
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2e84;
/* rgb */ color: rgb(207, 46, 132);
/* oklch */ color: oklch(58.0% 0.208 353.4);
Tailwind
colors: {
  custom: {
    50: '#e377a7',
    500: '#cf2e84',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e84;
$custom-light: #e377a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e84",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 327.95,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.20822,
    "h": 353.4
  },
  "luminance": 0.16885
}

Semantic roles & 50–950 ramp

primary
#CF2E84
secondary
#88D1AA
accent
#E78E41
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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