#CF2D81#CF2D81

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

Color values

HEX#CF2D81
RGBrgb(207, 45, 129)
HSLhsl(329, 64%, 49%)
HSVhsv(329, 78%, 81%)
CMYKcmyk(0%, 78.3%, 37.7%, 18.8%)
CIE-LABlab(47.92, 67.30, -7.83)
CIE-LCHlch(47.92, 67.76, 353.37°)
OKLaboklab(57.85% 0.2069 -0.0198)
OKLCHoklch(57.85% 0.208 354.5)
XYZxyz(30.6350, 16.7310, 22.3808)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2D81 #2DCF7B
analogous
#CC2DCF #CF2D81 #CF2D30
triadic
#CF2D81 #81CF2D #2D81CF
tetradic
#CF2D81 #CFCC2D #2DCF7B #2D30CF
square
#CF2D81 #CFCC2D #2DCF7B #2D30CF
split-complementary
#CF2D81 #30CF2D #2DCFCC
monochromatic
#6A1742 #9D2262 #CF2D81 #DC5D9F #E790BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF2D81#FFFFFF#000000##FFFFFF
##CF2D811.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)
#4F5F83
Deuteranopia (green-blind)
#7C7C7D
Tritanopia (blue-blind)
#E01654
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2d81;
/* rgb */ color: rgb(207, 45, 129);
/* oklch */ color: oklch(57.8% 0.208 354.5);
Tailwind
colors: {
  custom: {
    50: '#e377a5',
    500: '#cf2d81',
    950: '#000000',
  },
}
SCSS
$custom: #cf2d81;
$custom-light: #e377a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2d81",
  "rgb": {
    "r": 207,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 328.889,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.20786,
    "h": 354.5
  },
  "luminance": 0.16727
}

Semantic roles & 50–950 ramp

primary
#CF2D81
secondary
#87D1AB
accent
#E79141
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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