#D42C5F#D42C5F

#D42C5F is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.6% C 0.203 H 9.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D42C5F
RGBrgb(212, 44, 95)
HSLhsl(342, 66%, 50%)
HSVhsv(342, 79%, 83%)
CMYKcmyk(0%, 79.2%, 55.2%, 16.9%)
CIE-LABlab(47.79, 65.93, 12.91)
CIE-LCHlch(47.79, 67.19, 11.08°)
OKLaboklab(57.61% 0.2004 0.0327)
OKLCHoklch(57.61% 0.203 9.3)
XYZxyz(30.1206, 16.6290, 12.4479)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42C5F #2CD4A1
analogous
#D42CB3 #D42C5F #D44D2C
triadic
#D42C5F #5FD42C #2C5FD4
tetradic
#D42C5F #B3D42C #2CD4A1 #4D2CD4
square
#D42C5F #B3D42C #2CD4A1 #4D2CD4
split-complementary
#D42C5F #2CD44D #2CB3D4
monochromatic
#6F1731 #A22148 #D42C5F #DE5F86 #E992AC

Accessibility & contrast

On white

4.86
#D42C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#D42C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42C5F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42C5F#FFFFFF#000000##FFFFFF
##D42C5F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5C60
Deuteranopia (green-blind)
#867D5B
Tritanopia (blue-blind)
#E80043
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42c5f;
/* rgb */ color: rgb(212, 44, 95);
/* oklch */ color: oklch(57.6% 0.203 9.3);
Tailwind
colors: {
  custom: {
    50: '#e8768c',
    500: '#d42c5f',
    950: '#000000',
  },
}
SCSS
$custom: #d42c5f;
$custom-light: #e8768c;
$custom-dark: #000000;
JSON
{
  "hex": "#d42c5f",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 341.786,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.203,
    "h": 9.3
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#D42C5F
secondary
#88D3BD
accent
#E9B53F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D42C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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