#CF2E7D#CF2E7D

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

Color values

HEX#CF2E7D
RGBrgb(207, 46, 125)
HSLhsl(331, 64%, 50%)
HSVhsv(331, 78%, 81%)
CMYKcmyk(0%, 77.8%, 39.6%, 18.8%)
CIE-LABlab(47.88, 66.62, -5.45)
CIE-LCHlch(47.88, 66.84, 355.33°)
OKLaboklab(57.78% 0.2049 -0.0135)
OKLCHoklch(57.78% 0.205 356.2)
XYZxyz(30.4130, 16.7040, 21.0207)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E7D #2ECF80
analogous
#CF2ECE #CF2E7D #CF302E
triadic
#CF2E7D #7DCF2E #2E7DCF
tetradic
#CF2E7D #CECF2E #2ECF80 #302ECF
square
#CF2E7D #CECF2E #2ECF80 #302ECF
split-complementary
#CF2E7D #2ECF30 #2ECECF
monochromatic
#6B1841 #9D235F #CF2E7D #DB5F9C #E791BB

Accessibility & contrast

On white

4.84
#CF2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#CF2E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E7D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E7D#FFFFFF#000000##FFFFFF
##CF2E7D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#7D7C79
Tritanopia (blue-blind)
#E01452
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2e7d;
/* rgb */ color: rgb(207, 46, 125);
/* oklch */ color: oklch(57.8% 0.205 356.2);
Tailwind
colors: {
  custom: {
    50: '#e377a2',
    500: '#cf2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e7d;
$custom-light: #e377a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e7d",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 330.559,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.20531,
    "h": 356.2
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#CF2E7D
secondary
#88D1AD
accent
#E79541
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #CF2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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