#D0316E#D0316E

#D0316E is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.7% C 0.198 H 3.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D0316E
RGBrgb(208, 49, 110)
HSLhsl(337, 63%, 50%)
HSVhsv(337, 76%, 82%)
CMYKcmyk(0%, 76.4%, 47.1%, 18.4%)
CIE-LABlab(47.93, 64.61, 3.80)
CIE-LCHlch(47.93, 64.73, 3.36°)
OKLaboklab(57.7% 0.1981 0.0104)
OKLCHoklch(57.7% 0.198 3)
XYZxyz(29.9277, 16.7364, 16.4033)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0316E #31D093
analogous
#D031BE #D0316E #D04331
triadic
#D0316E #6ED031 #316ED0
tetradic
#D0316E #BED031 #31D093 #4331D0
square
#D0316E #BED031 #31D093 #4331D0
split-complementary
#D0316E #31D043 #31BED0
monochromatic
#6E1939 #9F2454 #D0316E #DB6391 #E795B4

Accessibility & contrast

On white

4.83
#D0316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#D0316E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D0316E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0316E#FFFFFF#000000##FFFFFF
##D0316E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E6F
Deuteranopia (green-blind)
#827D6A
Tritanopia (blue-blind)
#E2074C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d0316e;
/* rgb */ color: rgb(208, 49, 110);
/* oklch */ color: oklch(57.7% 0.198 3.0);
Tailwind
colors: {
  custom: {
    50: '#e57897',
    500: '#d0316e',
    950: '#000000',
  },
}
SCSS
$custom: #d0316e;
$custom-light: #e57897;
$custom-dark: #000000;
JSON
{
  "hex": "#d0316e",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 336.981,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.19833,
    "h": 3
  },
  "luminance": 0.16732
}

Semantic roles & 50–950 ramp

primary
#D0316E
secondary
#8BD2B7
accent
#E6A742
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D0316E

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

Preview Lab → · Contrast checker → · Palette generator →

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