#CF2E77#CF2E77

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

Color values

HEX#CF2E77
RGBrgb(207, 46, 119)
HSLhsl(333, 64%, 50%)
HSVhsv(333, 78%, 81%)
CMYKcmyk(0%, 77.8%, 42.5%, 18.8%)
CIE-LABlab(47.69, 66.04, -2.07)
CIE-LCHlch(47.69, 66.07, 358.21°)
OKLaboklab(57.58% 0.2031 -0.0046)
OKLCHoklch(57.58% 0.203 358.7)
XYZxyz(30.0412, 16.5553, 19.0627)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E77 #2ECF86
analogous
#CF2EC8 #CF2E77 #CF362E
triadic
#CF2E77 #77CF2E #2E77CF
tetradic
#CF2E77 #C8CF2E #2ECF86 #362ECF
square
#CF2E77 #C8CF2E #2ECF86 #362ECF
split-complementary
#CF2E77 #2ECF36 #2EC8CF
monochromatic
#6B183D #9D235A #CF2E77 #DB5F97 #E791B8

Accessibility & contrast

On white

4.87
#CF2E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CF2E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E77
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E77#FFFFFF#000000##FFFFFF
##CF2E771.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E79
Deuteranopia (green-blind)
#7F7C73
Tritanopia (blue-blind)
#E00C4F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf2e77;
/* rgb */ color: rgb(207, 46, 119);
/* oklch */ color: oklch(57.6% 0.203 358.7);
Tailwind
colors: {
  custom: {
    50: '#e3779e',
    500: '#cf2e77',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e77;
$custom-light: #e3779e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e77",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 332.795,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.2031,
    "h": 358.7
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#CF2E77
secondary
#88D1B0
accent
#E79C41
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CF2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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