#CF2E71#CF2E71

#CF2E71 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.4% C 0.201 H 1.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CF2E71
RGBrgb(207, 46, 113)
HSLhsl(335, 64%, 50%)
HSVhsv(335, 78%, 81%)
CMYKcmyk(0%, 77.8%, 45.4%, 18.8%)
CIE-LABlab(47.52, 65.49, 1.34)
CIE-LCHlch(47.52, 65.51, 1.17°)
OKLaboklab(57.39% 0.2011 0.0042)
OKLCHoklch(57.39% 0.201 1.2)
XYZxyz(29.6922, 16.4156, 17.2246)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E71 #2ECF8C
analogous
#CF2EC2 #CF2E71 #CF3C2E
triadic
#CF2E71 #71CF2E #2E71CF
tetradic
#CF2E71 #C2CF2E #2ECF8C #3C2ECF
square
#CF2E71 #C2CF2E #2ECF8C #3C2ECF
split-complementary
#CF2E71 #2ECF3C #2EC2CF
monochromatic
#6B183A #9D2356 #CF2E71 #DB5F93 #E791B5

Accessibility & contrast

On white

4.90
#CF2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CF2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E71
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E71#FFFFFF#000000##FFFFFF
##CF2E711.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D73
Deuteranopia (green-blind)
#807C6D
Tritanopia (blue-blind)
#E1034C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf2e71;
/* rgb */ color: rgb(207, 46, 113);
/* oklch */ color: oklch(57.4% 0.201 1.2);
Tailwind
colors: {
  custom: {
    50: '#e47799',
    500: '#cf2e71',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e71;
$custom-light: #e47799;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e71",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 335.031,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57388,
    "c": 0.20115,
    "h": 1.2
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#CF2E71
secondary
#88D1B3
accent
#E7A241
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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