#CF2E7E#CF2E7E

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

Color values

HEX#CF2E7E
RGBrgb(207, 46, 126)
HSLhsl(330, 64%, 50%)
HSVhsv(330, 78%, 81%)
CMYKcmyk(0%, 77.8%, 39.1%, 18.8%)
CIE-LABlab(47.92, 66.72, -6.01)
CIE-LCHlch(47.92, 66.99, 354.86°)
OKLaboklab(57.82% 0.2052 -0.015)
OKLCHoklch(57.82% 0.206 355.8)
XYZxyz(30.4772, 16.7296, 21.3588)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E7E #2ECF7F
analogous
#CF2ECF #CF2E7E #CF2E2E
triadic
#CF2E7E #7ECF2E #2E7ECF
tetradic
#CF2E7E #CFCF2E #2ECF7F #2E2ECF
square
#CF2E7E #CFCF2E #2ECF7F #2E2ECF
split-complementary
#CF2E7E #2ECF2E #2ECFCF
monochromatic
#6B1841 #9D2360 #CF2E7E #DB5F9D #E791BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF2E7E#FFFFFF#000000##FFFFFF
##CF2E7E1.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)
#505F80
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#E01552
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2e7e;
/* rgb */ color: rgb(207, 46, 126);
/* oklch */ color: oklch(57.8% 0.206 355.8);
Tailwind
colors: {
  custom: {
    50: '#e377a3',
    500: '#cf2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e7e;
$custom-light: #e377a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e7e",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 330.186,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57815,
    "c": 0.20571,
    "h": 355.8
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#CF2E7E
secondary
#88D1AD
accent
#E79441
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #CF2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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