#CF2F84#CF2F84

#CF2F84 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.1% C 0.207 H 353.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CF2F84
RGBrgb(207, 47, 132)
HSLhsl(328, 63%, 50%)
HSVhsv(328, 77%, 81%)
CMYKcmyk(0%, 77.3%, 36.2%, 18.8%)
CIE-LABlab(48.22, 67.05, -9.20)
CIE-LCHlch(48.22, 67.68, 352.19°)
OKLaboklab(58.1% 0.2059 -0.0235)
OKLCHoklch(58.1% 0.207 353.5)
XYZxyz(30.9155, 16.9682, 23.4725)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F84 #2FCF7A
analogous
#CA2FCF #CF2F84 #CF2F34
triadic
#CF2F84 #84CF2F #2F84CF
tetradic
#CF2F84 #CFCA2F #2FCF7A #2F34CF
square
#CF2F84 #CFCA2F #2FCF7A #2F34CF
split-complementary
#CF2F84 #34CF2F #2FCFCA
monochromatic
#6B1844 #9D2464 #CF2F84 #DB60A1 #E692BF

Accessibility & contrast

On white

4.78
#CF2F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CF2F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2F84
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F84#FFFFFF#000000##FFFFFF
##CF2F841.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf2f84;
/* rgb */ color: rgb(207, 47, 132);
/* oklch */ color: oklch(58.1% 0.207 353.5);
Tailwind
colors: {
  custom: {
    50: '#e378a7',
    500: '#cf2f84',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f84;
$custom-light: #e378a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f84",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 328.125,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.20728,
    "h": 353.5
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#CF2F84
secondary
#89D1AB
accent
#E68F42
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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