#D42E97#D42E97

#D42E97 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.221 H 347.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#D42E97
RGBrgb(212, 46, 151)
HSLhsl(322, 66%, 51%)
HSVhsv(322, 78%, 83%)
CMYKcmyk(0%, 78.3%, 28.8%, 16.9%)
CIE-LABlab(49.72, 70.65, -18.26)
CIE-LCHlch(49.72, 72.97, 345.51°)
OKLaboklab(59.59% 0.2155 -0.0482)
OKLCHoklch(59.59% 0.221 347.4)
XYZxyz(33.7160, 18.1893, 31.0075)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E97 #2ED46B
analogous
#BE2ED4 #D42E97 #D42E44
triadic
#D42E97 #97D42E #2E97D4
tetradic
#D42E97 #D4BE2E #2ED46B #2E44D4
square
#D42E97 #D4BE2E #2ED46B #2E44D4
split-complementary
#D42E97 #44D42E #2ED4BE
monochromatic
#701750 #A32274 #D42E97 #DE61B0 #E994CA

Accessibility & contrast

On white

4.53
#D42E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#D42E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42E97
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E97#FFFFFF#000000##000000
##D42E971.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#48649A
Deuteranopia (green-blind)
#7A8093
Tritanopia (blue-blind)
#E32660
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d42e97;
/* rgb */ color: rgb(212, 46, 151);
/* oklch */ color: oklch(59.6% 0.221 347.4);
Tailwind
colors: {
  custom: {
    50: '#e679b5',
    500: '#d42e97',
    950: '#000000',
  },
}
SCSS
$custom: #d42e97;
$custom-light: #e679b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e97",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 322.048,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.22078,
    "h": 347.4
  },
  "luminance": 0.18185
}

Semantic roles & 50–950 ramp

primary
#D42E97
secondary
#8AD4A5
accent
#E97D3F
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#170A11
muted
#857C80

Preview Lab

Preview with #D42E97

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

Preview Lab → · Contrast checker → · Palette generator →

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