#D42175#D42175

#D42175 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.6% C 0.216 H 359.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D42175
RGBrgb(212, 33, 117)
HSLhsl(332, 73%, 48%)
HSVhsv(332, 84%, 83%)
CMYKcmyk(0%, 84.4%, 44.8%, 16.9%)
CIE-LABlab(47.46, 70.30, -1.08)
CIE-LCHlch(47.46, 70.31, 359.12°)
OKLaboklab(57.56% 0.2165 -0.002)
OKLCHoklch(57.56% 0.216 359.5)
XYZxyz(30.9087, 16.3734, 18.3590)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42175 #21D480
analogous
#D421CE #D42175 #D42721
triadic
#D42175 #75D421 #2175D4
tetradic
#D42175 #CED421 #21D480 #2721D4
square
#D42175 #CED421 #21D480 #2721D4
split-complementary
#D42175 #21D427 #21CED4
monochromatic
#6A113B #9F1958 #D42175 #E44F95 #EC84B4

Accessibility & contrast

On white

4.91
#D42175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D42175
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42175#FFFFFF#000000##FFFFFF
##D421751.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B77
Deuteranopia (green-blind)
#807C71
Tritanopia (blue-blind)
#E6004A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42175;
/* rgb */ color: rgb(212, 33, 117);
/* oklch */ color: oklch(57.6% 0.216 359.5);
Tailwind
colors: {
  custom: {
    50: '#e8739c',
    500: '#d42175',
    950: '#000000',
  },
}
SCSS
$custom: #d42175;
$custom-light: #e8739c;
$custom-dark: #000000;
JSON
{
  "hex": "#d42175",
  "rgb": {
    "r": 212,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 331.844,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.21647,
    "h": 359.5
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#D42175
secondary
#7CD5AB
accent
#F09A38
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#17090E
muted
#857B7E

Preview Lab

Preview with #D42175

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

Preview Lab → · Contrast checker → · Palette generator →

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