#D42F72#D42F72

#D42F72 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.3% C 0.205 H 1.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D42F72
RGBrgb(212, 47, 114)
HSLhsl(336, 66%, 51%)
HSVhsv(336, 78%, 83%)
CMYKcmyk(0%, 77.8%, 46.2%, 16.9%)
CIE-LABlab(48.57, 66.61, 2.38)
CIE-LCHlch(48.57, 66.65, 2.05°)
OKLaboklab(58.34% 0.2044 0.0068)
OKLCHoklch(58.34% 0.205 1.9)
XYZxyz(31.2077, 17.2492, 17.6024)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42F72 #2FD491
analogous
#D42FC5 #D42F72 #D43E2F
triadic
#D42F72 #72D42F #2F72D4
tetradic
#D42F72 #C5D42F #2FD491 #3E2FD4
square
#D42F72 #C5D42F #2FD491 #3E2FD4
split-complementary
#D42F72 #2FD43E #2FC5D4
monochromatic
#71173C #A42257 #D42F72 #DE6294 #E994B7

Accessibility & contrast

On white

4.72
#D42F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#D42F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42F72
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42F72#FFFFFF#000000##FFFFFF
##D42F721.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F74
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#E6004D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d42f72;
/* rgb */ color: rgb(212, 47, 114);
/* oklch */ color: oklch(58.3% 0.205 1.9);
Tailwind
colors: {
  custom: {
    50: '#e7789a',
    500: '#d42f72',
    950: '#000000',
  },
}
SCSS
$custom: #d42f72;
$custom-light: #e7789a;
$custom-dark: #000000;
JSON
{
  "hex": "#d42f72",
  "rgb": {
    "r": 212,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 335.636,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.20455,
    "h": 1.9
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#D42F72
secondary
#8BD4B6
accent
#E9A43F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D42F72

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

Preview Lab → · Contrast checker → · Palette generator →

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