#CD50A2#CD50A2

#CD50A2 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.182 H 343.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CD50A2
RGBrgb(205, 80, 162)
HSLhsl(321, 56%, 56%)
HSVhsv(321, 61%, 80%)
CMYKcmyk(0%, 61%, 21%, 19.6%)
CIE-LABlab(53.31, 58.17, -19.40)
CIE-LCHlch(53.31, 61.32, 341.55°)
OKLaboklab(62.13% 0.1742 -0.0517)
OKLCHoklch(62.13% 0.182 343.5)
XYZxyz(34.5681, 21.3283, 36.4716)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50A2 #50CD7B
analogous
#B950CD #CD50A2 #CD5063
triadic
#CD50A2 #A2CD50 #50A2CD
tetradic
#CD50A2 #CDB950 #50CD7B #5063CD
square
#CD50A2 #CDB950 #50CD7B #5063CD
split-complementary
#CD50A2 #63CD50 #50CDB9
monochromatic
#7E245F #AE3283 #CD50A2 #DB80BB #E8AFD5

Accessibility & contrast

On white

3.99
#CD50A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CD50A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50A2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50A2#FFFFFF#000000##000000
##CD50A21.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#7F879F
Tritanopia (blue-blind)
#D95072
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd50a2;
/* rgb */ color: rgb(205, 80, 162);
/* oklch */ color: oklch(62.1% 0.182 343.5);
Tailwind
colors: {
  custom: {
    50: '#e088bd',
    500: '#cd50a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd50a2;
$custom-light: #e088bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50a2",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 320.64,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62129,
    "c": 0.18168,
    "h": 343.5
  },
  "luminance": 0.21325
}

Semantic roles & 50–950 ramp

primary
#CD50A2
secondary
#A2D6B4
accent
#DF7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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