#CD4EA2#CD4EA2

#CD4EA2 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.185 H 343.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CD4EA2
RGBrgb(205, 78, 162)
HSLhsl(320, 56%, 55%)
HSVhsv(320, 62%, 80%)
CMYKcmyk(0%, 62%, 21%, 19.6%)
CIE-LABlab(52.99, 59.02, -19.88)
CIE-LCHlch(52.99, 62.28, 341.38°)
OKLaboklab(61.9% 0.1768 -0.053)
OKLCHoklch(61.9% 0.185 343.3)
XYZxyz(34.4238, 21.0397, 36.4235)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EA2 #4ECD79
analogous
#B84ECD #CD4EA2 #CD4E62
triadic
#CD4EA2 #A2CD4E #4EA2CD
tetradic
#CD4EA2 #CDB84E #4ECD79 #4E62CD
square
#CD4EA2 #CDB84E #4ECD79 #4E62CD
split-complementary
#CD4EA2 #62CD4E #4ECDB8
monochromatic
#7D235F #AD3183 #CD4EA2 #DA7EBB #E8ADD4

Accessibility & contrast

On white

4.03
#CD4EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CD4EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EA2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EA2#FFFFFF#000000##000000
##CD4EA21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7E869F
Tritanopia (blue-blind)
#D94E71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4ea2;
/* rgb */ color: rgb(205, 78, 162);
/* oklch */ color: oklch(61.9% 0.185 343.3);
Tailwind
colors: {
  custom: {
    50: '#e087bd',
    500: '#cd4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ea2;
$custom-light: #e087bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ea2",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 320.315,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.18454,
    "h": 343.3
  },
  "luminance": 0.21037
}

Semantic roles & 50–950 ramp

primary
#CD4EA2
secondary
#A1D6B3
accent
#DF7C49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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