#CF2E82#CF2E82

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

Color values

HEX#CF2E82
RGBrgb(207, 46, 130)
HSLhsl(329, 64%, 50%)
HSVhsv(329, 78%, 81%)
CMYKcmyk(0%, 77.8%, 37.2%, 18.8%)
CIE-LABlab(48.05, 67.13, -8.24)
CIE-LCHlch(48.05, 67.63, 353.00°)
OKLaboklab(57.96% 0.2063 -0.0209)
OKLCHoklch(57.96% 0.207 354.2)
XYZxyz(30.7404, 16.8350, 22.7454)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E82 #2ECF7B
analogous
#CC2ECF #CF2E82 #CF2E31
triadic
#CF2E82 #82CF2E #2E82CF
tetradic
#CF2E82 #CFCC2E #2ECF7B #2E31CF
square
#CF2E82 #CFCC2E #2ECF7B #2E31CF
split-complementary
#CF2E82 #31CF2E #2ECFCC
monochromatic
#6B1843 #9D2363 #CF2E82 #DB5FA0 #E791BE

Accessibility & contrast

On white

4.81
#CF2E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CF2E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E82
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E82#FFFFFF#000000##FFFFFF
##CF2E821.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F84
Deuteranopia (green-blind)
#7C7D7E
Tritanopia (blue-blind)
#DF1954
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2e82;
/* rgb */ color: rgb(207, 46, 130);
/* oklch */ color: oklch(58.0% 0.207 354.2);
Tailwind
colors: {
  custom: {
    50: '#e377a6',
    500: '#cf2e82',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e82;
$custom-light: #e377a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e82",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 328.696,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57956,
    "c": 0.20735,
    "h": 354.2
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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