#CD42B0#CD42B0

#CD42B0 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.3% C 0.210 H 337.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD42B0
RGBrgb(205, 66, 176)
HSLhsl(313, 58%, 53%)
HSVhsv(313, 68%, 80%)
CMYKcmyk(0%, 67.8%, 14.1%, 19.6%)
CIE-LABlab(51.85, 65.79, -29.85)
CIE-LCHlch(51.85, 72.24, 335.60°)
OKLaboklab(61.26% 0.1936 -0.081)
OKLCHoklch(61.26% 0.21 337.3)
XYZxyz(34.9621, 20.0133, 43.0875)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42B0 #42CD5F
analogous
#A442CD #CD42B0 #CD426A
triadic
#CD42B0 #B0CD42 #42B0CD
tetradic
#CD42B0 #CDA442 #42CD5F #426ACD
square
#CD42B0 #CDA442 #42CD5F #426ACD
split-complementary
#CD42B0 #6ACD42 #42CDA4
monochromatic
#761F63 #A62C8C #CD42B0 #DA72C4 #E7A3D8

Accessibility & contrast

On white

4.20
#CD42B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD42B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42B0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42B0#FFFFFF#000000##000000
##CD42B01.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#466EB3
Deuteranopia (green-blind)
#7383AD
Tritanopia (blue-blind)
#D84973
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd42b0;
/* rgb */ color: rgb(205, 66, 176);
/* oklch */ color: oklch(61.3% 0.210 337.3);
Tailwind
colors: {
  custom: {
    50: '#e081c8',
    500: '#cd42b0',
    950: '#000000',
  },
}
SCSS
$custom: #cd42b0;
$custom-light: #e081c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42b0",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 312.518,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61255,
    "c": 0.2099,
    "h": 337.3
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#CD42B0
secondary
#97D3A4
accent
#E16746
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD42B0

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

Preview Lab → · Contrast checker → · Palette generator →

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