#D42EA9#D42EA9

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

Color values

HEX#D42EA9
RGBrgb(212, 46, 169)
HSLhsl(316, 66%, 51%)
HSVhsv(316, 78%, 83%)
CMYKcmyk(0%, 78.3%, 20.3%, 16.9%)
CIE-LABlab(50.48, 72.84, -27.79)
CIE-LCHlch(50.48, 77.96, 339.12°)
OKLaboklab(60.38% 0.2185 -0.0749)
OKLCHoklch(60.38% 0.231 341.1)
XYZxyz(35.2910, 18.8193, 39.3024)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42EA9 #2ED459
analogous
#AC2ED4 #D42EA9 #D42E56
triadic
#D42EA9 #A9D42E #2EA9D4
tetradic
#D42EA9 #D4AC2E #2ED459 #2E56D4
square
#D42EA9 #D4AC2E #2ED459 #2E56D4
split-complementary
#D42EA9 #56D42E #2ED4AC
monochromatic
#701759 #A32282 #D42EA9 #DE61BE #E994D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42EA9#FFFFFF#000000##000000
##D42EA91.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)
#3E67AC
Deuteranopia (green-blind)
#7482A5
Tritanopia (blue-blind)
#E13269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d42ea9;
/* rgb */ color: rgb(212, 46, 169);
/* oklch */ color: oklch(60.4% 0.231 341.1);
Tailwind
colors: {
  custom: {
    50: '#e679c3',
    500: '#d42ea9',
    950: '#000000',
  },
}
SCSS
$custom: #d42ea9;
$custom-light: #e679c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d42ea9",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 315.542,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60378,
    "c": 0.23095,
    "h": 341.1
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#D42EA9
secondary
#8AD49D
accent
#E96B3F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170A12
muted
#857C81

Preview Lab

Preview with #D42EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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