#CF2E7A#CF2E7A

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

Color values

HEX#CF2E7A
RGBrgb(207, 46, 122)
HSLhsl(332, 64%, 50%)
HSVhsv(332, 78%, 81%)
CMYKcmyk(0%, 77.8%, 41.1%, 18.8%)
CIE-LABlab(47.79, 66.33, -3.76)
CIE-LCHlch(47.79, 66.43, 356.76°)
OKLaboklab(57.68% 0.204 -0.0091)
OKLCHoklch(57.68% 0.204 357.5)
XYZxyz(30.2242, 16.6285, 20.0266)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E7A #2ECF83
analogous
#CF2ECB #CF2E7A #CF332E
triadic
#CF2E7A #7ACF2E #2E7ACF
tetradic
#CF2E7A #CBCF2E #2ECF83 #332ECF
square
#CF2E7A #CBCF2E #2ECF83 #332ECF
split-complementary
#CF2E7A #2ECF33 #2ECBCF
monochromatic
#6B183F #9D235C #CF2E7A #DB5F9A #E791B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF2E7A#FFFFFF#000000##FFFFFF
##CF2E7A1.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)
#525E7C
Deuteranopia (green-blind)
#7E7C76
Tritanopia (blue-blind)
#E01050
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf2e7a;
/* rgb */ color: rgb(207, 46, 122);
/* oklch */ color: oklch(57.7% 0.204 357.5);
Tailwind
colors: {
  custom: {
    50: '#e377a0',
    500: '#cf2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e7a;
$custom-light: #e377a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e7a",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 331.677,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57678,
    "c": 0.20417,
    "h": 357.5
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#CF2E7A
secondary
#88D1AE
accent
#E79941
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CF2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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