#D5477B#D5477B

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

Color values

HEX#D5477B
RGBrgb(213, 71, 123)
HSLhsl(338, 63%, 56%)
HSVhsv(338, 67%, 84%)
CMYKcmyk(0%, 66.7%, 42.3%, 16.5%)
CIE-LABlab(51.94, 59.56, 1.83)
CIE-LCHlch(51.94, 59.59, 1.76°)
OKLaboklab(60.94% 0.1822 0.0054)
OKLCHoklch(60.94% 0.182 1.7)
XYZxyz(33.2713, 20.0867, 20.8601)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5477B #47D5A1
analogous
#D547C2 #D5477B #D55A47
triadic
#D5477B #7BD547 #477BD5
tetradic
#D5477B #C2D547 #47D5A1 #5A47D5
square
#D5477B #C2D547 #47D5A1 #5A47D5
split-complementary
#D5477B #47D55A #47C2D5
monochromatic
#841E43 #B5295D #D5477B #E0799F #ECABC2

Accessibility & contrast

On white

4.19
#D5477B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5477B#FFFFFF#000000##000000
##D5477B1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5477b;
/* rgb */ color: rgb(213, 71, 123);
/* oklch */ color: oklch(60.9% 0.182 1.7);
Tailwind
colors: {
  custom: {
    50: '#e783a1',
    500: '#d5477b',
    950: '#000000',
  },
}
SCSS
$custom: #d5477b;
$custom-light: #e783a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5477b",
  "rgb": {
    "r": 213,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 338.028,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60937,
    "c": 0.18228,
    "h": 1.7
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#D5477B
secondary
#9ED9C4
accent
#E6AA42
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D5477B

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

Preview Lab → · Contrast checker → · Palette generator →

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