#D0317E#D0317E

#D0317E is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.204 H 356.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D0317E
RGBrgb(208, 49, 126)
HSLhsl(331, 63%, 50%)
HSVhsv(331, 76%, 82%)
CMYKcmyk(0%, 76.4%, 39.4%, 18.4%)
CIE-LABlab(48.41, 66.11, -5.26)
CIE-LCHlch(48.41, 66.32, 355.45°)
OKLaboklab(58.21% 0.2032 -0.013)
OKLCHoklch(58.21% 0.204 356.3)
XYZxyz(30.8788, 17.1168, 21.4124)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0317E #31D083
analogous
#D031CE #D0317E #D03331
triadic
#D0317E #7ED031 #317ED0
tetradic
#D0317E #CED031 #31D083 #3331D0
square
#D0317E #CED031 #31D083 #3331D0
split-complementary
#D0317E #31D033 #31CED0
monochromatic
#6E1942 #9F2460 #D0317E #DB639D #E795BC

Accessibility & contrast

On white

4.75
#D0317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#D0317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D0317E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0317E#FFFFFF#000000##FFFFFF
##D0317E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536080
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#E11954
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d0317e;
/* rgb */ color: rgb(208, 49, 126);
/* oklch */ color: oklch(58.2% 0.204 356.3);
Tailwind
colors: {
  custom: {
    50: '#e478a3',
    500: '#d0317e',
    950: '#000000',
  },
}
SCSS
$custom: #d0317e;
$custom-light: #e478a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d0317e",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 330.943,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.20362,
    "h": 356.3
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#D0317E
secondary
#8BD2B0
accent
#E69642
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D0317E

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

Preview Lab → · Contrast checker → · Palette generator →

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