#D0315A#D0315A

#D0315A is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.2% C 0.195 H 11.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D0315A
RGBrgb(208, 49, 90)
HSLhsl(345, 63%, 50%)
HSVhsv(345, 76%, 82%)
CMYKcmyk(0%, 76.4%, 56.7%, 18.4%)
CIE-LABlab(47.43, 63.05, 15.37)
CIE-LCHlch(47.43, 64.89, 13.70°)
OKLaboklab(57.17% 0.1907 0.0384)
OKLCHoklch(57.17% 0.195 11.4)
XYZxyz(28.9590, 16.3489, 11.3017)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0315A #31D0A7
analogous
#D031AA #D0315A #D05731
triadic
#D0315A #5AD031 #315AD0
tetradic
#D0315A #AAD031 #31D0A7 #5731D0
square
#D0315A #AAD031 #31D0A7 #5731D0
split-complementary
#D0315A #31D057 #31AAD0
monochromatic
#6E192F #9F2444 #D0315A #DB6382 #E795AA

Accessibility & contrast

On white

4.92
#D0315A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#D0315A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D0315A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0315A#FFFFFF#000000##FFFFFF
##D0315A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5C5B
Deuteranopia (green-blind)
#857C56
Tritanopia (blue-blind)
#E30042
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #d0315a;
/* rgb */ color: rgb(208, 49, 90);
/* oklch */ color: oklch(57.2% 0.195 11.4);
Tailwind
colors: {
  custom: {
    50: '#e67788',
    500: '#d0315a',
    950: '#000000',
  },
}
SCSS
$custom: #d0315a;
$custom-light: #e67788;
$custom-dark: #000000;
JSON
{
  "hex": "#d0315a",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 344.528,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.19457,
    "h": 11.4
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#D0315A
secondary
#8BD2C0
accent
#E6BC42
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #D0315A

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

Preview Lab → · Contrast checker → · Palette generator →

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