#CF2F76#CF2F76

#CF2F76 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.6% C 0.202 H 359.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CF2F76
RGBrgb(207, 47, 118)
HSLhsl(333, 63%, 50%)
HSVhsv(333, 77%, 81%)
CMYKcmyk(0%, 77.3%, 43%, 18.8%)
CIE-LABlab(47.77, 65.66, -1.35)
CIE-LCHlch(47.77, 65.68, 358.82°)
OKLaboklab(57.62% 0.2018 -0.0028)
OKLCHoklch(57.62% 0.202 359.2)
XYZxyz(30.0210, 16.6104, 18.7613)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F76 #2FCF88
analogous
#CF2FC6 #CF2F76 #CF382F
triadic
#CF2F76 #76CF2F #2F76CF
tetradic
#CF2F76 #C6CF2F #2FCF88 #382FCF
square
#CF2F76 #C6CF2F #2FCF88 #382FCF
split-complementary
#CF2F76 #2FCF38 #2FC6CF
monochromatic
#6B183D #9D245A #CF2F76 #DB6097 #E692B7

Accessibility & contrast

On white

4.86
#CF2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CF2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2F76
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F76#FFFFFF#000000##FFFFFF
##CF2F761.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545E78
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#E00E4F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf2f76;
/* rgb */ color: rgb(207, 47, 118);
/* oklch */ color: oklch(57.6% 0.202 359.2);
Tailwind
colors: {
  custom: {
    50: '#e3779d',
    500: '#cf2f76',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f76;
$custom-light: #e3779d;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f76",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 333.375,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5762,
    "c": 0.20183,
    "h": 359.2
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#CF2F76
secondary
#89D1B1
accent
#E69D42
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CF2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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