#CF2E7C#CF2E7C

#CF2E7C is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 57.7% C 0.205 H 356.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CF2E7C
RGBrgb(207, 46, 124)
HSLhsl(331, 64%, 50%)
HSVhsv(331, 78%, 81%)
CMYKcmyk(0%, 77.8%, 40.1%, 18.8%)
CIE-LABlab(47.85, 66.52, -4.88)
CIE-LCHlch(47.85, 66.70, 355.80°)
OKLaboklab(57.75% 0.2046 -0.012)
OKLCHoklch(57.75% 0.205 356.6)
XYZxyz(30.3494, 16.6785, 20.6860)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E7C #2ECF81
analogous
#CF2ECC #CF2E7C #CF312E
triadic
#CF2E7C #7CCF2E #2E7CCF
tetradic
#CF2E7C #CCCF2E #2ECF81 #312ECF
square
#CF2E7C #CCCF2E #2ECF81 #312ECF
split-complementary
#CF2E7C #2ECF31 #2ECCCF
monochromatic
#6B1840 #9D235E #CF2E7C #DB5F9B #E791BA

Accessibility & contrast

On white

4.84
#CF2E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#CF2E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E7C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E7C#FFFFFF#000000##FFFFFF
##CF2E7C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7E
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#E01251
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cf2e7c;
/* rgb */ color: rgb(207, 46, 124);
/* oklch */ color: oklch(57.7% 0.205 356.6);
Tailwind
colors: {
  custom: {
    50: '#e377a1',
    500: '#cf2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e7c;
$custom-light: #e377a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e7c",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 330.932,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57746,
    "c": 0.20493,
    "h": 356.6
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#CF2E7C
secondary
#88D1AE
accent
#E79641
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #CF2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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