#D42E6F#D42E6F

#D42E6F is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.205 H 3.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D42E6F
RGBrgb(212, 46, 111)
HSLhsl(337, 66%, 51%)
HSVhsv(337, 78%, 83%)
CMYKcmyk(0%, 78.3%, 47.6%, 16.9%)
CIE-LABlab(48.39, 66.63, 3.95)
CIE-LCHlch(48.39, 66.75, 3.39°)
OKLaboklab(58.18% 0.2043 0.0108)
OKLCHoklch(58.18% 0.205 3)
XYZxyz(31.0003, 17.1030, 16.7047)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E6F #2ED493
analogous
#D42EC2 #D42E6F #D4402E
triadic
#D42E6F #6FD42E #2E6FD4
tetradic
#D42E6F #C2D42E #2ED493 #402ED4
square
#D42E6F #C2D42E #2ED493 #402ED4
split-complementary
#D42E6F #2ED440 #2EC2D4
monochromatic
#70173A #A32254 #D42E6F #DE6192 #E994B5

Accessibility & contrast

On white

4.75
#D42E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#D42E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42E6F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E6F#FFFFFF#000000##FFFFFF
##D42E6F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585E70
Deuteranopia (green-blind)
#847E6B
Tritanopia (blue-blind)
#E7004B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d42e6f;
/* rgb */ color: rgb(212, 46, 111);
/* oklch */ color: oklch(58.2% 0.205 3.0);
Tailwind
colors: {
  custom: {
    50: '#e87798',
    500: '#d42e6f',
    950: '#000000',
  },
}
SCSS
$custom: #d42e6f;
$custom-light: #e87798;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e6f",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 336.506,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5818,
    "c": 0.20462,
    "h": 3
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#D42E6F
secondary
#8AD4B7
accent
#E9A63F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D42E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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