#D03DA8#D03DA8

#D03DA8 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.9% C 0.212 H 340.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D03DA8
RGBrgb(208, 61, 168)
HSLhsl(316, 61%, 53%)
HSVhsv(316, 71%, 82%)
CMYKcmyk(0%, 70.7%, 19.2%, 18.4%)
CIE-LABlab(51.36, 67.20, -25.89)
CIE-LCHlch(51.36, 72.01, 338.93°)
OKLaboklab(60.87% 0.2008 -0.0697)
OKLCHoklch(60.87% 0.213 340.9)
XYZxyz(34.7500, 19.5779, 38.9870)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03DA8 #3DD065
analogous
#AF3DD0 #D03DA8 #D03D5E
triadic
#D03DA8 #A8D03D #3DA8D0
tetradic
#D03DA8 #D0AF3D #3DD065 #3D5ED0
square
#D03DA8 #D0AF3D #3DD065 #3D5ED0
split-complementary
#D03DA8 #5ED03D #3DD0AF
monochromatic
#761D5E #A72985 #D03DA8 #DC6EBE #E8A0D4

Accessibility & contrast

On white

4.27
#D03DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D03DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03DA8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03DA8#FFFFFF#000000##000000
##D03DA81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#486BAB
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#DC406D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d03da8;
/* rgb */ color: rgb(208, 61, 168);
/* oklch */ color: oklch(60.9% 0.212 340.9);
Tailwind
colors: {
  custom: {
    50: '#e27fc2',
    500: '#d03da8',
    950: '#000000',
  },
}
SCSS
$custom: #d03da8;
$custom-light: #e27fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#d03da8",
  "rgb": {
    "r": 208,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 316.327,
    "s": 60.996,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.2125,
    "h": 340.9
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#D03DA8
secondary
#95D4A6
accent
#E46F44
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D03DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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