#CF2F82#CF2F82

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

Color values

HEX#CF2F82
RGBrgb(207, 47, 130)
HSLhsl(329, 63%, 50%)
HSVhsv(329, 77%, 81%)
CMYKcmyk(0%, 77.3%, 37.2%, 18.8%)
CIE-LABlab(48.15, 66.84, -8.09)
CIE-LCHlch(48.15, 67.33, 353.10°)
OKLaboklab(58.03% 0.2054 -0.0205)
OKLCHoklch(58.03% 0.206 354.3)
XYZxyz(30.7800, 16.9140, 22.7586)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F82 #2FCF7C
analogous
#CC2FCF #CF2F82 #CF2F32
triadic
#CF2F82 #82CF2F #2F82CF
tetradic
#CF2F82 #CFCC2F #2FCF7C #2F32CF
square
#CF2F82 #CFCC2F #2FCF7C #2F32CF
split-complementary
#CF2F82 #32CF2F #2FCFCC
monochromatic
#6B1843 #9D2463 #CF2F82 #DB60A0 #E692BE

Accessibility & contrast

On white

4.79
#CF2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CF2F82
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F82#FFFFFF#000000##FFFFFF
##CF2F821.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506084
Deuteranopia (green-blind)
#7C7D7E
Tritanopia (blue-blind)
#DF1A55
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2f82;
/* rgb */ color: rgb(207, 47, 130);
/* oklch */ color: oklch(58.0% 0.206 354.3);
Tailwind
colors: {
  custom: {
    50: '#e378a6',
    500: '#cf2f82',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f82;
$custom-light: #e378a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f82",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 328.875,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.20641,
    "h": 354.3
  },
  "luminance": 0.1691
}

Semantic roles & 50–950 ramp

primary
#CF2F82
secondary
#89D1AC
accent
#E69142
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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