#CD4FA2#CD4FA2

#CD4FA2 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.183 H 343.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CD4FA2
RGBrgb(205, 79, 162)
HSLhsl(320, 56%, 56%)
HSVhsv(320, 61%, 80%)
CMYKcmyk(0%, 61.5%, 21%, 19.6%)
CIE-LABlab(53.15, 58.60, -19.64)
CIE-LCHlch(53.15, 61.80, 341.47°)
OKLaboklab(62.01% 0.1755 -0.0524)
OKLCHoklch(62.01% 0.183 343.4)
XYZxyz(34.4954, 21.1829, 36.4474)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FA2 #4FCD7A
analogous
#B94FCD #CD4FA2 #CD4F63
triadic
#CD4FA2 #A2CD4F #4FA2CD
tetradic
#CD4FA2 #CDB94F #4FCD7A #4F63CD
square
#CD4FA2 #CDB94F #4FCD7A #4F63CD
split-complementary
#CD4FA2 #63CD4F #4FCDB9
monochromatic
#7E245F #AE3183 #CD4FA2 #DB7FBB #E8AED4

Accessibility & contrast

On white

4.01
#CD4FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CD4FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FA2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FA2#FFFFFF#000000##000000
##CD4FA21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4fa2;
/* rgb */ color: rgb(205, 79, 162);
/* oklch */ color: oklch(62.0% 0.183 343.4);
Tailwind
colors: {
  custom: {
    50: '#e087bd',
    500: '#cd4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fa2;
$custom-light: #e087bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fa2",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 320.476,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62013,
    "c": 0.18312,
    "h": 343.4
  },
  "luminance": 0.2118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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