#D0316F#D0316F

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

Color values

HEX#D0316F
RGBrgb(208, 49, 111)
HSLhsl(337, 63%, 50%)
HSVhsv(337, 76%, 82%)
CMYKcmyk(0%, 76.4%, 46.6%, 18.4%)
CIE-LABlab(47.95, 64.70, 3.23)
CIE-LCHlch(47.95, 64.78, 2.85°)
OKLaboklab(57.73% 0.1984 0.009)
OKLCHoklch(57.73% 0.199 2.6)
XYZxyz(29.9825, 16.7583, 16.6917)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0316F #31D092
analogous
#D031BE #D0316F #D04231
triadic
#D0316F #6FD031 #316FD0
tetradic
#D0316F #BED031 #31D092 #4231D0
square
#D0316F #BED031 #31D092 #4231D0
split-complementary
#D0316F #31D042 #31BED0
monochromatic
#6E193A #9F2454 #D0316F #DB6392 #E795B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0316F#FFFFFF#000000##FFFFFF
##D0316F1.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)
#575E70
Deuteranopia (green-blind)
#827D6B
Tritanopia (blue-blind)
#E2094C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d0316f;
/* rgb */ color: rgb(208, 49, 111);
/* oklch */ color: oklch(57.7% 0.199 2.6);
Tailwind
colors: {
  custom: {
    50: '#e47898',
    500: '#d0316f',
    950: '#000000',
  },
}
SCSS
$custom: #d0316f;
$custom-light: #e47898;
$custom-dark: #000000;
JSON
{
  "hex": "#d0316f",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 336.604,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.1986,
    "h": 2.6
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#D0316F
secondary
#8BD2B6
accent
#E6A642
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D0316F

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

Preview Lab → · Contrast checker → · Palette generator →

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