#D03FA8#D03FA8

#D03FA8 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.1% C 0.210 H 340.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D03FA8
RGBrgb(208, 63, 168)
HSLhsl(317, 61%, 53%)
HSVhsv(317, 70%, 82%)
CMYKcmyk(0%, 69.7%, 19.2%, 18.4%)
CIE-LABlab(51.61, 66.50, -25.50)
CIE-LCHlch(51.61, 71.22, 339.02°)
OKLaboklab(61.06% 0.1986 -0.0686)
OKLCHoklch(61.06% 0.21 340.9)
XYZxyz(34.8588, 19.7954, 39.0233)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03FA8 #3FD067
analogous
#AF3FD0 #D03FA8 #D03F5F
triadic
#D03FA8 #A8D03F #3FA8D0
tetradic
#D03FA8 #D0AF3F #3FD067 #3F5FD0
square
#D03FA8 #D0AF3F #3FD067 #3F5FD0
split-complementary
#D03FA8 #5FD03F #3FD0AF
monochromatic
#771D5F #A92985 #D03FA8 #DC70BE #E8A1D5

Accessibility & contrast

On white

4.24
#D03FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D03FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03FA8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03FA8#FFFFFF#000000##000000
##D03FA81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAB
Deuteranopia (green-blind)
#7783A5
Tritanopia (blue-blind)
#DC426E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d03fa8;
/* rgb */ color: rgb(208, 63, 168);
/* oklch */ color: oklch(61.1% 0.210 340.9);
Tailwind
colors: {
  custom: {
    50: '#e280c2',
    500: '#d03fa8',
    950: '#000000',
  },
}
SCSS
$custom: #d03fa8;
$custom-light: #e280c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d03fa8",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 316.552,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.21015,
    "h": 340.9
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#D03FA8
secondary
#96D5A7
accent
#E47044
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D03FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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