#D45178#D45178

#D45178 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.8% C 0.168 H 5.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D45178
RGBrgb(212, 81, 120)
HSLhsl(342, 60%, 57%)
HSVhsv(342, 62%, 83%)
CMYKcmyk(0%, 61.8%, 43.4%, 16.9%)
CIE-LABlab(53.21, 54.81, 5.45)
CIE-LCHlch(53.21, 55.08, 5.68°)
OKLaboklab(61.83% 0.1671 0.0146)
OKLCHoklch(61.83% 0.168 5)
XYZxyz(33.4863, 21.2419, 20.1023)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45178 #51D4AD
analogous
#D451BA #D45178 #D46B51
triadic
#D45178 #78D451 #5178D4
tetradic
#D45178 #BAD451 #51D4AD #6B51D4
square
#D45178 #BAD451 #51D4AD #6B51D4
split-complementary
#D45178 #51D46B #51BAD4
monochromatic
#892240 #BA2E58 #D45178 #E0829E #ECB3C4

Accessibility & contrast

On white

4.00
#D45178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D45178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45178
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45178#FFFFFF#000000##000000
##D451781.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6F79
Deuteranopia (green-blind)
#8E8975
Tritanopia (blue-blind)
#E54160
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d45178;
/* rgb */ color: rgb(212, 81, 120);
/* oklch */ color: oklch(61.8% 0.168 5.0);
Tailwind
colors: {
  custom: {
    50: '#e6889e',
    500: '#d45178',
    950: '#000000',
  },
}
SCSS
$custom: #d45178;
$custom-light: #e6889e;
$custom-dark: #000000;
JSON
{
  "hex": "#d45178",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 342.137,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.16773,
    "h": 5
  },
  "luminance": 0.21238
}

Semantic roles & 50–950 ramp

primary
#D45178
secondary
#A6DBCB
accent
#E4B444
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D45178

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

Preview Lab → · Contrast checker → · Palette generator →

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