#CD42A3#CD42A3

#CD42A3 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.7% C 0.201 H 342.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CD42A3
RGBrgb(205, 66, 163)
HSLhsl(318, 58%, 53%)
HSVhsv(318, 68%, 80%)
CMYKcmyk(0%, 67.8%, 20.5%, 19.6%)
CIE-LABlab(51.29, 63.96, -23.08)
CIE-LCHlch(51.29, 68.00, 340.16°)
OKLaboklab(60.67% 0.1916 -0.0619)
OKLCHoklch(60.67% 0.201 342.1)
XYZxyz(33.7369, 19.5232, 36.6348)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42A3 #42CD6C
analogous
#B142CD #CD42A3 #CD425E
triadic
#CD42A3 #A3CD42 #42A3CD
tetradic
#CD42A3 #CDB142 #42CD6C #425ECD
square
#CD42A3 #CDB142 #42CD6C #425ECD
split-complementary
#CD42A3 #5ECD42 #42CDB1
monochromatic
#761F5B #A62C81 #CD42A3 #DA72BB #E7A3D2

Accessibility & contrast

On white

4.28
#CD42A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CD42A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42A3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42A3#FFFFFF#000000##000000
##CD42A31.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA6
Deuteranopia (green-blind)
#7882A0
Tritanopia (blue-blind)
#D9436D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd42a3;
/* rgb */ color: rgb(205, 66, 163);
/* oklch */ color: oklch(60.7% 0.201 342.1);
Tailwind
colors: {
  custom: {
    50: '#e081be',
    500: '#cd42a3',
    950: '#000000',
  },
}
SCSS
$custom: #cd42a3;
$custom-light: #e081be;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42a3",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 318.129,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.20129,
    "h": 342.1
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#CD42A3
secondary
#97D3AA
accent
#E17546
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD42A3

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

Preview Lab → · Contrast checker → · Palette generator →

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