#CF2F88#CF2F88

#CF2F88 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.209 H 351.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF2F88
RGBrgb(207, 47, 136)
HSLhsl(327, 63%, 50%)
HSVhsv(327, 77%, 81%)
CMYKcmyk(0%, 77.3%, 34.3%, 18.8%)
CIE-LABlab(48.36, 67.48, -11.41)
CIE-LCHlch(48.36, 68.43, 350.40°)
OKLaboklab(58.25% 0.207 -0.0295)
OKLCHoklch(58.25% 0.209 351.9)
XYZxyz(31.1945, 17.0798, 24.9418)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F88 #2FCF76
analogous
#C62FCF #CF2F88 #CF2F38
triadic
#CF2F88 #88CF2F #2F88CF
tetradic
#CF2F88 #CFC62F #2FCF76 #2F38CF
square
#CF2F88 #CFC62F #2FCF76 #2F38CF
split-complementary
#CF2F88 #38CF2F #2FCFC6
monochromatic
#6B1846 #9D2467 #CF2F88 #DB60A5 #E692C1

Accessibility & contrast

On white

4.76
#CF2F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CF2F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2F88
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F88#FFFFFF#000000##FFFFFF
##CF2F881.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D608A
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#DF1F58
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf2f88;
/* rgb */ color: rgb(207, 47, 136);
/* oklch */ color: oklch(58.3% 0.209 351.9);
Tailwind
colors: {
  custom: {
    50: '#e378aa',
    500: '#cf2f88',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f88;
$custom-light: #e378aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f88",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 326.625,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.20907,
    "h": 351.9
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#CF2F88
secondary
#89D1A9
accent
#E68B42
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CF2F88

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

Preview Lab → · Contrast checker → · Palette generator →

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