#CF2E7B#CF2E7B

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

Color values

HEX#CF2E7B
RGBrgb(207, 46, 123)
HSLhsl(331, 64%, 50%)
HSVhsv(331, 78%, 81%)
CMYKcmyk(0%, 77.8%, 40.6%, 18.8%)
CIE-LABlab(47.82, 66.43, -4.32)
CIE-LCHlch(47.82, 66.57, 356.28°)
OKLaboklab(57.71% 0.2043 -0.0105)
OKLCHoklch(57.71% 0.205 357)
XYZxyz(30.2865, 16.6534, 20.3546)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2E7B #2ECF82
analogous
#CF2ECC #CF2E7B #CF312E
triadic
#CF2E7B #7BCF2E #2E7BCF
tetradic
#CF2E7B #CCCF2E #2ECF82 #312ECF
square
#CF2E7B #CCCF2E #2ECF82 #312ECF
split-complementary
#CF2E7B #2ECF31 #2ECCCF
monochromatic
#6B183F #9D235D #CF2E7B #DB5F9A #E791BA

Accessibility & contrast

On white

4.85
#CF2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#CF2E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2E7B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2E7B#FFFFFF#000000##FFFFFF
##CF2E7B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7D
Deuteranopia (green-blind)
#7E7C77
Tritanopia (blue-blind)
#E01151
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf2e7b;
/* rgb */ color: rgb(207, 46, 123);
/* oklch */ color: oklch(57.7% 0.205 357.0);
Tailwind
colors: {
  custom: {
    50: '#e377a1',
    500: '#cf2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #cf2e7b;
$custom-light: #e377a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2e7b",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 331.304,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.20455,
    "h": 357
  },
  "luminance": 0.16649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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