#D42AB0#D42AB0

#D42AB0 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.5% C 0.239 H 338.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D42AB0
RGBrgb(212, 42, 176)
HSLhsl(313, 67%, 50%)
HSVhsv(313, 80%, 83%)
CMYKcmyk(0%, 80.2%, 17%, 16.9%)
CIE-LABlab(50.44, 74.76, -31.96)
CIE-LCHlch(50.44, 81.31, 336.85°)
OKLaboklab(60.46% 0.2223 -0.0867)
OKLCHoklch(60.46% 0.239 338.7)
XYZxyz(35.8168, 18.7912, 42.8067)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42AB0 #2AD44E
analogous
#A32AD4 #D42AB0 #D42A5B
triadic
#D42AB0 #B0D42A #2AB0D4
tetradic
#D42AB0 #D4A32A #2AD44E #2A5BD4
square
#D42AB0 #D4A32A #2AD44E #2A5BD4
split-complementary
#D42AB0 #5BD42A #2AD4A3
monochromatic
#6E165B #A12086 #D42AB0 #DF5CC3 #E98FD6

Accessibility & contrast

On white

4.41
#D42AB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D42AB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42AB0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42AB0#FFFFFF#000000##000000
##D42AB01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#E0346C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d42ab0;
/* rgb */ color: rgb(212, 42, 176);
/* oklch */ color: oklch(60.5% 0.239 338.7);
Tailwind
colors: {
  custom: {
    50: '#e678c8',
    500: '#d42ab0',
    950: '#000000',
  },
}
SCSS
$custom: #d42ab0;
$custom-light: #e678c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d42ab0",
  "rgb": {
    "r": 212,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 312.706,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.23864,
    "h": 338.7
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#D42AB0
secondary
#86D397
accent
#EA623E
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#170A13
muted
#857C82

Preview Lab

Preview with #D42AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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