#D42DB0#D42DB0

#D42DB0 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.6% C 0.236 H 338.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D42DB0
RGBrgb(212, 45, 176)
HSLhsl(313, 66%, 50%)
HSVhsv(313, 79%, 83%)
CMYKcmyk(0%, 78.8%, 17%, 16.9%)
CIE-LABlab(50.70, 74.01, -31.55)
CIE-LCHlch(50.70, 80.46, 336.91°)
OKLaboklab(60.64% 0.2201 -0.0856)
OKLCHoklch(60.64% 0.236 338.7)
XYZxyz(35.9272, 19.0120, 42.8435)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42DB0 #2DD451
analogous
#A42DD4 #D42DB0 #D42D5C
triadic
#D42DB0 #B0D42D #2DB0D4
tetradic
#D42DB0 #D4A42D #2DD451 #2D5CD4
square
#D42DB0 #D4A42D #2DD451 #2D5CD4
split-complementary
#D42DB0 #5CD42D #2DD4A4
monochromatic
#70175D #A32187 #D42DB0 #DE60C3 #E993D6

Accessibility & contrast

On white

4.37
#D42DB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#D42DB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42DB0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42DB0#FFFFFF#000000##000000
##D42DB01.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3868B3
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#E0366D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d42db0;
/* rgb */ color: rgb(212, 45, 176);
/* oklch */ color: oklch(60.6% 0.236 338.7);
Tailwind
colors: {
  custom: {
    50: '#e679c8',
    500: '#d42db0',
    950: '#000000',
  },
}
SCSS
$custom: #d42db0;
$custom-light: #e679c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d42db0",
  "rgb": {
    "r": 212,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 312.934,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.23612,
    "h": 338.7
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#D42DB0
secondary
#89D499
accent
#E9643F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170A13
muted
#857C82

Preview Lab

Preview with #D42DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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