#D3478B#D3478B

#D3478B is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.1% C 0.186 H 354.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D3478B
RGBrgb(211, 71, 139)
HSLhsl(331, 61%, 55%)
HSVhsv(331, 66%, 83%)
CMYKcmyk(0%, 66.4%, 34.1%, 17.3%)
CIE-LABlab(52.09, 60.68, -7.55)
CIE-LCHlch(52.09, 61.15, 352.91°)
OKLaboklab(61.15% 0.1855 -0.0192)
OKLCHoklch(61.15% 0.186 354.1)
XYZxyz(33.7793, 20.2232, 26.5457)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3478B #47D38F
analogous
#D347D1 #D3478B #D34947
triadic
#D3478B #8BD347 #478BD3
tetradic
#D3478B #D1D347 #47D38F #4947D3
square
#D3478B #D1D347 #47D38F #4947D3
split-complementary
#D3478B #47D349 #47D1D3
monochromatic
#811F4E #B22B6C #D3478B #DF78AA #EBAAC9

Accessibility & contrast

On white

4.16
#D3478B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D3478B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D3478B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3478B#FFFFFF#000000##000000
##D3478B1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#E33C63
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d3478b;
/* rgb */ color: rgb(211, 71, 139);
/* oklch */ color: oklch(61.1% 0.186 354.1);
Tailwind
colors: {
  custom: {
    50: '#e583ac',
    500: '#d3478b',
    950: '#000000',
  },
}
SCSS
$custom: #d3478b;
$custom-light: #e583ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d3478b",
  "rgb": {
    "r": 211,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 330.857,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61147,
    "c": 0.18646,
    "h": 354.1
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#D3478B
secondary
#9ED8BC
accent
#E59643
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D3478B

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

Preview Lab → · Contrast checker → · Palette generator →

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