#D45172#D45172

#D45172 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.167 H 7.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D45172
RGBrgb(212, 81, 114)
HSLhsl(345, 60%, 57%)
HSVhsv(345, 62%, 83%)
CMYKcmyk(0%, 61.8%, 46.2%, 16.9%)
CIE-LABlab(53.06, 54.22, 8.81)
CIE-LCHlch(53.06, 54.93, 9.23°)
OKLaboklab(61.66% 0.1649 0.023)
OKLCHoklch(61.66% 0.167 7.9)
XYZxyz(33.1335, 21.1008, 18.2443)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45172 #51D4B3
analogous
#D451B4 #D45172 #D47151
triadic
#D45172 #72D451 #5172D4
tetradic
#D45172 #B4D451 #51D4B3 #7151D4
square
#D45172 #B4D451 #51D4B3 #7151D4
split-complementary
#D45172 #51D471 #51B4D4
monochromatic
#89223C #BA2E51 #D45172 #E0829A #ECB3C2

Accessibility & contrast

On white

4.02
#D45172 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D45172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45172
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45172#FFFFFF#000000##000000
##D451721.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E73
Deuteranopia (green-blind)
#8F886F
Tritanopia (blue-blind)
#E63F5E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d45172;
/* rgb */ color: rgb(212, 81, 114);
/* oklch */ color: oklch(61.7% 0.167 7.9);
Tailwind
colors: {
  custom: {
    50: '#e6889a',
    500: '#d45172',
    950: '#000000',
  },
}
SCSS
$custom: #d45172;
$custom-light: #e6889a;
$custom-dark: #000000;
JSON
{
  "hex": "#d45172",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 344.885,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.1665,
    "h": 7.9
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#D45172
secondary
#A6DBCE
accent
#E4BB44
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D45172

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

Preview Lab → · Contrast checker → · Palette generator →

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