#CD2A72#CD2A72

#CD2A72 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.8% C 0.203 H 359.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD2A72
RGBrgb(205, 42, 114)
HSLhsl(333, 66%, 48%)
HSVhsv(333, 80%, 80%)
CMYKcmyk(0%, 79.5%, 44.4%, 19.6%)
CIE-LABlab(46.78, 66.17, -0.38)
CIE-LCHlch(46.78, 66.17, 359.67°)
OKLaboklab(56.79% 0.2034 -0.0003)
OKLCHoklch(56.79% 0.203 359.9)
XYZxyz(29.0444, 15.8539, 17.4470)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2A72 #2ACD85
analogous
#CD2AC3 #CD2A72 #CD332A
triadic
#CD2A72 #72CD2A #2A72CD
tetradic
#CD2A72 #C3CD2A #2ACD85 #332ACD
square
#CD2A72 #C3CD2A #2ACD85 #332ACD
split-complementary
#CD2A72 #2ACD33 #2AC3CD
monochromatic
#67153A #9A2056 #CD2A72 #DD5892 #E78AB3

Accessibility & contrast

On white

5.04
#CD2A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CD2A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2A72
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2A72#FFFFFF#000000##FFFFFF
##CD2A721.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B74
Deuteranopia (green-blind)
#7D7A6E
Tritanopia (blue-blind)
#DF004B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cd2a72;
/* rgb */ color: rgb(205, 42, 114);
/* oklch */ color: oklch(56.8% 0.203 359.9);
Tailwind
colors: {
  custom: {
    50: '#e2759a',
    500: '#cd2a72',
    950: '#000000',
  },
}
SCSS
$custom: #cd2a72;
$custom-light: #e2759a;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2a72",
  "rgb": {
    "r": 205,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 333.497,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.20343,
    "h": 359.9
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#CD2A72
secondary
#82D1AE
accent
#E99E3F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CD2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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