#CF2E81#CF2E81

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

Color values

HEX#CF2E81
RGBrgb(207, 46, 129)
HSLhsl(329, 64%, 50%)
HSVhsv(329, 78%, 81%)
CMYKcmyk(0%, 77.8%, 37.7%, 18.8%)
CIE-LABlab(48.02, 67.02, -7.68)
CIE-LCHlch(48.02, 67.46, 353.46°)
OKLaboklab(57.92% 0.206 -0.0194)
OKLCHoklch(57.92% 0.207 354.6)
XYZxyz(30.6737, 16.8082, 22.3937)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E81 #2ECF7C
analogous
#CC2ECF #CF2E81 #CF2E31
triadic
#CF2E81 #81CF2E #2E81CF
tetradic
#CF2E81 #CFCC2E #2ECF7C #2E31CF
square
#CF2E81 #CFCC2E #2ECF7C #2E31CF
split-complementary
#CF2E81 #31CF2E #2ECFCC
monochromatic
#6B1843 #9D2362 #CF2E81 #DB5F9F #E791BD

Accessibility & contrast

On white

4.82
#CF2E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CF2E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E81
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E81#FFFFFF#000000##FFFFFF
##CF2E811.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F83
Deuteranopia (green-blind)
#7C7D7D
Tritanopia (blue-blind)
#E01854
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2e81;
/* rgb */ color: rgb(207, 46, 129);
/* oklch */ color: oklch(57.9% 0.207 354.6);
Tailwind
colors: {
  custom: {
    50: '#e377a5',
    500: '#cf2e81',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e81;
$custom-light: #e377a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e81",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 329.068,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.20693,
    "h": 354.6
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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