#D42A57#D42A57

#D42A57 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.3% C 0.204 H 12.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D42A57
RGBrgb(212, 42, 87)
HSLhsl(344, 67%, 50%)
HSVhsv(344, 80%, 83%)
CMYKcmyk(0%, 80.2%, 59%, 16.9%)
CIE-LABlab(47.42, 65.92, 17.33)
CIE-LCHlch(47.42, 68.16, 14.73°)
OKLaboklab(57.28% 0.199 0.0429)
OKLCHoklch(57.28% 0.204 12.2)
XYZxyz(29.7027, 16.3455, 10.6060)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42A57 #2AD4A7
analogous
#D42AAC #D42A57 #D4522A
triadic
#D42A57 #57D42A #2A57D4
tetradic
#D42A57 #ACD42A #2AD4A7 #522AD4
square
#D42A57 #ACD42A #2AD4A7 #522AD4
split-complementary
#D42A57 #2AD452 #2AACD4
monochromatic
#6E162D #A12042 #D42A57 #DF5C7F #E98FA7

Accessibility & contrast

On white

4.92
#D42A57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#D42A57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42A57
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42A57#FFFFFF#000000##FFFFFF
##D42A571.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5A58
Deuteranopia (green-blind)
#867D53
Tritanopia (blue-blind)
#E8003E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d42a57;
/* rgb */ color: rgb(212, 42, 87);
/* oklch */ color: oklch(57.3% 0.204 12.2);
Tailwind
colors: {
  custom: {
    50: '#e97586',
    500: '#d42a57',
    950: '#000000',
  },
}
SCSS
$custom: #d42a57;
$custom-light: #e97586;
$custom-dark: #000000;
JSON
{
  "hex": "#d42a57",
  "rgb": {
    "r": 212,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 344.118,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.20361,
    "h": 12.2
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#D42A57
secondary
#86D3BF
accent
#EABC3E
background
#FFF7F8
surface
#FFEEEF
border
#D7C9CA
text
#180A0B
muted
#867C7C

Preview Lab

Preview with #D42A57

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

Preview Lab → · Contrast checker → · Palette generator →

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