#CF2E78#CF2E78

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

Color values

HEX#CF2E78
RGBrgb(207, 46, 120)
HSLhsl(332, 64%, 50%)
HSVhsv(332, 78%, 81%)
CMYKcmyk(0%, 77.8%, 42%, 18.8%)
CIE-LABlab(47.73, 66.14, -2.63)
CIE-LCHlch(47.73, 66.19, 357.72°)
OKLaboklab(57.61% 0.2034 -0.0061)
OKLCHoklch(57.61% 0.203 358.3)
XYZxyz(30.1016, 16.5794, 19.3807)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E78 #2ECF85
analogous
#CF2EC9 #CF2E78 #CF342E
triadic
#CF2E78 #78CF2E #2E78CF
tetradic
#CF2E78 #C9CF2E #2ECF85 #342ECF
square
#CF2E78 #C9CF2E #2ECF85 #342ECF
split-complementary
#CF2E78 #2ECF34 #2EC9CF
monochromatic
#6B183E #9D235B #CF2E78 #DB5F98 #E791B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF2E78#FFFFFF#000000##FFFFFF
##CF2E781.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)
#525E7A
Deuteranopia (green-blind)
#7E7C74
Tritanopia (blue-blind)
#E00E4F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf2e78;
/* rgb */ color: rgb(207, 46, 120);
/* oklch */ color: oklch(57.6% 0.203 358.3);
Tailwind
colors: {
  custom: {
    50: '#e3779e',
    500: '#cf2e78',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e78;
$custom-light: #e3779e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e78",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 332.422,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.20345,
    "h": 358.3
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#CF2E78
secondary
#88D1AF
accent
#E79B41
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CF2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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