#D5477C#D5477C

#D5477C is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.183 H 1.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D5477C
RGBrgb(213, 71, 124)
HSLhsl(338, 63%, 56%)
HSVhsv(338, 67%, 84%)
CMYKcmyk(0%, 66.7%, 41.8%, 16.5%)
CIE-LABlab(51.96, 59.66, 1.27)
CIE-LCHlch(51.96, 59.67, 1.22°)
OKLaboklab(60.97% 0.1825 0.004)
OKLCHoklch(60.97% 0.183 1.3)
XYZxyz(33.3342, 20.1119, 21.1915)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5477C #47D5A0
analogous
#D547C3 #D5477C #D55947
triadic
#D5477C #7CD547 #477CD5
tetradic
#D5477C #C3D547 #47D5A0 #5947D5
square
#D5477C #C3D547 #47D5A0 #5947D5
split-complementary
#D5477C #47D559 #47C3D5
monochromatic
#841E44 #B5295E #D5477C #E0799F #ECABC3

Accessibility & contrast

On white

4.18
#D5477C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D5477C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5477C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5477C#FFFFFF#000000##000000
##D5477C1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7D
Deuteranopia (green-blind)
#8A8679
Tritanopia (blue-blind)
#E6355C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d5477c;
/* rgb */ color: rgb(213, 71, 124);
/* oklch */ color: oklch(61.0% 0.183 1.3);
Tailwind
colors: {
  custom: {
    50: '#e783a1',
    500: '#d5477c',
    950: '#000000',
  },
}
SCSS
$custom: #d5477c;
$custom-light: #e783a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5477c",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 337.606,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.18258,
    "h": 1.3
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#D5477C
secondary
#9ED9C3
accent
#E6A942
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D5477C

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

Preview Lab → · Contrast checker → · Palette generator →

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