#D42A5B#D42A5B

#D42A5B is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.4% C 0.204 H 10.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#D42A5B
RGBrgb(212, 42, 91)
HSLhsl(343, 67%, 50%)
HSVhsv(343, 80%, 83%)
CMYKcmyk(0%, 80.2%, 57.1%, 16.9%)
CIE-LABlab(47.51, 66.19, 14.99)
CIE-LCHlch(47.51, 67.86, 12.76°)
OKLaboklab(57.37% 0.2006 0.0375)
OKLCHoklch(57.37% 0.204 10.6)
XYZxyz(29.8707, 16.4127, 11.4906)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42A5B #2AD4A3
analogous
#D42AB0 #D42A5B #D44E2A
triadic
#D42A5B #5BD42A #2A5BD4
tetradic
#D42A5B #B0D42A #2AD4A3 #4E2AD4
square
#D42A5B #B0D42A #2AD4A3 #4E2AD4
split-complementary
#D42A5B #2AD44E #2AB0D4
monochromatic
#6E162F #A12045 #D42A5B #DF5C82 #E98FA9

Accessibility & contrast

On white

4.90
#D42A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#D42A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42A5B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42A5B#FFFFFF#000000##FFFFFF
##D42A5B1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5B5C
Deuteranopia (green-blind)
#867D57
Tritanopia (blue-blind)
#E80040
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42a5b;
/* rgb */ color: rgb(212, 42, 91);
/* oklch */ color: oklch(57.4% 0.204 10.6);
Tailwind
colors: {
  custom: {
    50: '#e97589',
    500: '#d42a5b',
    950: '#000000',
  },
}
SCSS
$custom: #d42a5b;
$custom-light: #e97589;
$custom-dark: #000000;
JSON
{
  "hex": "#d42a5b",
  "rgb": {
    "r": 212,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 342.706,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57371,
    "c": 0.20404,
    "h": 10.6
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#D42A5B
secondary
#86D3BD
accent
#EAB83E
background
#FFF7F8
surface
#FFEEEF
border
#D7C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #D42A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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