#CD3FA2#CD3FA2

#CD3FA2 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.3% C 0.204 H 342.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CD3FA2
RGBrgb(205, 63, 162)
HSLhsl(318, 59%, 53%)
HSVhsv(318, 69%, 80%)
CMYKcmyk(0%, 69.3%, 21%, 19.6%)
CIE-LABlab(50.86, 64.93, -23.16)
CIE-LCHlch(50.86, 68.93, 340.37°)
OKLaboklab(60.33% 0.1947 -0.0621)
OKLCHoklch(60.33% 0.204 342.3)
XYZxyz(33.4770, 19.1461, 36.1079)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3FA2 #3FCD6A
analogous
#B13FCD #CD3FA2 #CD3F5B
triadic
#CD3FA2 #A2CD3F #3FA2CD
tetradic
#CD3FA2 #CDB13F #3FCD6A #3F5BCD
square
#CD3FA2 #CDB13F #3FCD6A #3F5BCD
split-complementary
#CD3FA2 #5BCD3F #3FCDB1
monochromatic
#741E5A #A42B7F #CD3FA2 #DA70BA #E6A0D1

Accessibility & contrast

On white

4.35
#CD3FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CD3FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3FA2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3FA2#FFFFFF#000000##000000
##CD3FA21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#DA406B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3fa2;
/* rgb */ color: rgb(205, 63, 162);
/* oklch */ color: oklch(60.3% 0.204 342.3);
Tailwind
colors: {
  custom: {
    50: '#e07fbd',
    500: '#cd3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cd3fa2;
$custom-light: #e07fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3fa2",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 318.169,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60334,
    "c": 0.20439,
    "h": 342.3
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#CD3FA2
secondary
#95D3A8
accent
#E27546
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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