#CD4CA2#CD4CA2

#CD4CA2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.187 H 343.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CD4CA2
RGBrgb(205, 76, 162)
HSLhsl(320, 56%, 55%)
HSVhsv(320, 63%, 80%)
CMYKcmyk(0%, 62.9%, 21%, 19.6%)
CIE-LABlab(52.69, 59.86, -20.35)
CIE-LCHlch(52.69, 63.23, 341.22°)
OKLaboklab(61.67% 0.1793 -0.0543)
OKLCHoklch(61.67% 0.187 343.1)
XYZxyz(34.2839, 20.7599, 36.3769)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4CA2 #4CCD77
analogous
#B84CCD #CD4CA2 #CD4C61
triadic
#CD4CA2 #A2CD4C #4CA2CD
tetradic
#CD4CA2 #CDB84C #4CCD77 #4C61CD
square
#CD4CA2 #CDB84C #4CCD77 #4C61CD
split-complementary
#CD4CA2 #61CD4C #4CCDB8
monochromatic
#7C235E #AC3083 #CD4CA2 #DA7CBB #E8ACD4

Accessibility & contrast

On white

4.08
#CD4CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CD4CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4CA2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4CA2#FFFFFF#000000##000000
##CD4CA21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D94C70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4ca2;
/* rgb */ color: rgb(205, 76, 162);
/* oklch */ color: oklch(61.7% 0.187 343.1);
Tailwind
colors: {
  custom: {
    50: '#e086bd',
    500: '#cd4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ca2;
$custom-light: #e086bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ca2",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 320,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61672,
    "c": 0.18737,
    "h": 343.1
  },
  "luminance": 0.20757
}

Semantic roles & 50–950 ramp

primary
#CD4CA2
secondary
#9FD5B1
accent
#E07B48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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