#D03FA7#D03FA7

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

Color values

HEX#D03FA7
RGBrgb(208, 63, 167)
HSLhsl(317, 61%, 53%)
HSVhsv(317, 70%, 82%)
CMYKcmyk(0%, 69.7%, 19.7%, 18.4%)
CIE-LABlab(51.56, 66.36, -24.98)
CIE-LCHlch(51.56, 70.91, 339.37°)
OKLaboklab(61.01% 0.1985 -0.0671)
OKLCHoklch(61.01% 0.21 341.3)
XYZxyz(34.7660, 19.7583, 38.5345)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03FA7 #3FD068
analogous
#B13FD0 #D03FA7 #D03F5E
triadic
#D03FA7 #A7D03F #3FA7D0
tetradic
#D03FA7 #D0B13F #3FD068 #3F5ED0
square
#D03FA7 #D0B13F #3FD068 #3F5ED0
split-complementary
#D03FA7 #5ED03F #3FD0B1
monochromatic
#771D5E #A92985 #D03FA7 #DC70BE #E8A1D4

Accessibility & contrast

On white

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

On black

4.95
#D03FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D03FA7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03FA7#FFFFFF#000000##000000
##D03FA71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#7883A4
Tritanopia (blue-blind)
#DC426E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d03fa7;
/* rgb */ color: rgb(208, 63, 167);
/* oklch */ color: oklch(61.0% 0.210 341.3);
Tailwind
colors: {
  custom: {
    50: '#e280c1',
    500: '#d03fa7',
    950: '#000000',
  },
}
SCSS
$custom: #d03fa7;
$custom-light: #e280c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d03fa7",
  "rgb": {
    "r": 208,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 316.966,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61011,
    "c": 0.20951,
    "h": 341.3
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#D03FA7
secondary
#96D5A8
accent
#E47144
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D03FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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