#CF2E79#CF2E79

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

Color values

HEX#CF2E79
RGBrgb(207, 46, 121)
HSLhsl(332, 64%, 50%)
HSVhsv(332, 78%, 81%)
CMYKcmyk(0%, 77.8%, 41.5%, 18.8%)
CIE-LABlab(47.76, 66.23, -3.20)
CIE-LCHlch(47.76, 66.31, 357.24°)
OKLaboklab(57.65% 0.2037 -0.0076)
OKLCHoklch(57.65% 0.204 357.9)
XYZxyz(30.1626, 16.6038, 19.7020)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E79 #2ECF84
analogous
#CF2EC9 #CF2E79 #CF342E
triadic
#CF2E79 #79CF2E #2E79CF
tetradic
#CF2E79 #C9CF2E #2ECF84 #342ECF
square
#CF2E79 #C9CF2E #2ECF84 #342ECF
split-complementary
#CF2E79 #2ECF34 #2EC9CF
monochromatic
#6B183E #9D235C #CF2E79 #DB5F99 #E791B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF2E79#FFFFFF#000000##FFFFFF
##CF2E791.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)
#525E7B
Deuteranopia (green-blind)
#7E7C75
Tritanopia (blue-blind)
#E00F50
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf2e79;
/* rgb */ color: rgb(207, 46, 121);
/* oklch */ color: oklch(57.6% 0.204 357.9);
Tailwind
colors: {
  custom: {
    50: '#e3779f',
    500: '#cf2e79',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e79;
$custom-light: #e3779f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e79",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 332.05,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.20381,
    "h": 357.9
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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