#CF2C95#CF2C95

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

Color values

HEX#CF2C95
RGBrgb(207, 44, 149)
HSLhsl(321, 65%, 49%)
HSVhsv(321, 79%, 81%)
CMYKcmyk(0%, 78.7%, 28%, 18.8%)
CIE-LABlab(48.56, 69.77, -18.93)
CIE-LCHlch(48.56, 72.29, 344.82°)
OKLaboklab(58.56% 0.2125 -0.0501)
OKLCHoklch(58.56% 0.218 346.7)
XYZxyz(32.0592, 17.2404, 30.0674)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2C95 #2CCF66
analogous
#B82CCF #CF2C95 #CF2C43
triadic
#CF2C95 #95CF2C #2C95CF
tetradic
#CF2C95 #CFB82C #2CCF66 #2C43CF
square
#CF2C95 #CFB82C #2CCF66 #2C43CF
split-complementary
#CF2C95 #43CF2C #2CCFB8
monochromatic
#6A174C #9D2171 #CF2C95 #DC5CAF #E78EC7

Accessibility & contrast

On white

4.72
#CF2C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CF2C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2C95
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2C95#FFFFFF#000000##FFFFFF
##CF2C951.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456298
Deuteranopia (green-blind)
#767D91
Tritanopia (blue-blind)
#DE255E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf2c95;
/* rgb */ color: rgb(207, 44, 149);
/* oklch */ color: oklch(58.6% 0.218 346.7);
Tailwind
colors: {
  custom: {
    50: '#e377b4',
    500: '#cf2c95',
    950: '#000000',
  },
}
SCSS
$custom: #cf2c95;
$custom-light: #e377b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2c95",
  "rgb": {
    "r": 207,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 321.35,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.21835,
    "h": 346.7
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#CF2C95
secondary
#85D1A0
accent
#E87C40
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CF2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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