#D42E70#D42E70

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

Color values

HEX#D42E70
RGBrgb(212, 46, 112)
HSLhsl(336, 66%, 51%)
HSVhsv(336, 78%, 83%)
CMYKcmyk(0%, 78.3%, 47.2%, 16.9%)
CIE-LABlab(48.42, 66.72, 3.38)
CIE-LCHlch(48.42, 66.80, 2.90°)
OKLaboklab(58.21% 0.2047 0.0094)
OKLCHoklch(58.21% 0.205 2.6)
XYZxyz(31.0556, 17.1252, 16.9963)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E70 #2ED492
analogous
#D42EC3 #D42E70 #D43F2E
triadic
#D42E70 #70D42E #2E70D4
tetradic
#D42E70 #C3D42E #2ED492 #3F2ED4
square
#D42E70 #C3D42E #2ED492 #3F2ED4
split-complementary
#D42E70 #2ED43F #2EC3D4
monochromatic
#70173B #A32255 #D42E70 #DE6193 #E994B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42E70#FFFFFF#000000##FFFFFF
##D42E701.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)
#575E71
Deuteranopia (green-blind)
#837F6C
Tritanopia (blue-blind)
#E7004B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d42e70;
/* rgb */ color: rgb(212, 46, 112);
/* oklch */ color: oklch(58.2% 0.205 2.6);
Tailwind
colors: {
  custom: {
    50: '#e87798',
    500: '#d42e70',
    950: '#000000',
  },
}
SCSS
$custom: #d42e70;
$custom-light: #e87798;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e70",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 336.145,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.20488,
    "h": 2.6
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

primary
#D42E70
secondary
#8AD4B6
accent
#E9A53F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D42E70

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

Preview Lab → · Contrast checker → · Palette generator →

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