#CF2C94#CF2C94

#CF2C94 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.5% C 0.218 H 347.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CF2C94
RGBrgb(207, 44, 148)
HSLhsl(322, 65%, 49%)
HSVhsv(322, 79%, 81%)
CMYKcmyk(0%, 78.7%, 28.5%, 18.8%)
CIE-LABlab(48.52, 69.65, -18.39)
CIE-LCHlch(48.52, 72.04, 345.21°)
OKLaboklab(58.51% 0.2123 -0.0486)
OKLCHoklch(58.51% 0.218 347.1)
XYZxyz(31.9797, 17.2086, 29.6487)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2C94 #2CCF67
analogous
#B92CCF #CF2C94 #CF2C43
triadic
#CF2C94 #94CF2C #2C94CF
tetradic
#CF2C94 #CFB92C #2CCF67 #2C43CF
square
#CF2C94 #CFB92C #2CCF67 #2C43CF
split-complementary
#CF2C94 #43CF2C #2CCFB9
monochromatic
#6A174C #9D2170 #CF2C94 #DC5CAE #E78EC7

Accessibility & contrast

On white

4.73
#CF2C94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CF2C94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2C94
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2C94#FFFFFF#000000##FFFFFF
##CF2C941.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466197
Deuteranopia (green-blind)
#777D90
Tritanopia (blue-blind)
#DE255D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf2c94;
/* rgb */ color: rgb(207, 44, 148);
/* oklch */ color: oklch(58.5% 0.218 347.1);
Tailwind
colors: {
  custom: {
    50: '#e377b3',
    500: '#cf2c94',
    950: '#000000',
  },
}
SCSS
$custom: #cf2c94;
$custom-light: #e377b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2c94",
  "rgb": {
    "r": 207,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 321.718,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58515,
    "c": 0.21782,
    "h": 347.1
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#CF2C94
secondary
#85D1A1
accent
#E87D40
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CF2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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