#DA317D#DA317D

#DA317D is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.8% C 0.211 H 358.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#DA317D
RGBrgb(218, 49, 125)
HSLhsl(333, 70%, 52%)
HSVhsv(333, 78%, 85%)
CMYKcmyk(0%, 77.5%, 42.7%, 14.5%)
CIE-LABlab(50.20, 68.60, -1.80)
CIE-LCHlch(50.20, 68.62, 358.50°)
OKLaboklab(59.84% 0.2109 -0.0039)
OKLCHoklch(59.84% 0.211 358.9)
XYZxyz(33.7160, 18.5872, 21.2103)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA317D #31DA8E
analogous
#DA31D1 #DA317D #DA3A31
triadic
#DA317D #7DDA31 #317DDA
tetradic
#DA317D #D1DA31 #31DA8E #3A31DA
square
#DA317D #D1DA31 #31DA8E #3A31DA
split-complementary
#DA317D #31DA3A #31D1DA
monochromatic
#7B1643 #AE1F60 #DA317D #E3659E #ED99BE

Accessibility & contrast

On white

4.45
#DA317D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#DA317D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA317D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA317D#FFFFFF#000000##000000
##DA317D1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#EC0D53
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #da317d;
/* rgb */ color: rgb(218, 49, 125);
/* oklch */ color: oklch(59.8% 0.211 358.9);
Tailwind
colors: {
  custom: {
    50: '#eb7aa2',
    500: '#da317d',
    950: '#000000',
  },
}
SCSS
$custom: #da317d;
$custom-light: #eb7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#da317d",
  "rgb": {
    "r": 218,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 333.018,
    "s": 69.547,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59841,
    "c": 0.21093,
    "h": 358.9
  },
  "luminance": 0.18583
}

Semantic roles & 50–950 ramp

primary
#DA317D
secondary
#8FD8B7
accent
#EC9D3B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #DA317D

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

Preview Lab → · Contrast checker → · Palette generator →

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