#D034A8#D034A8

#D034A8 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.1% C 0.222 H 340.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D034A8
RGBrgb(208, 52, 168)
HSLhsl(315, 62%, 51%)
HSVhsv(315, 75%, 82%)
CMYKcmyk(0%, 75%, 19.2%, 18.4%)
CIE-LABlab(50.33, 70.10, -27.48)
CIE-LCHlch(50.33, 75.30, 338.60°)
OKLaboklab(60.13% 0.2096 -0.0741)
OKLCHoklch(60.13% 0.222 340.5)
XYZxyz(34.3093, 18.6965, 38.8401)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D034A8 #34D05C
analogous
#AA34D0 #D034A8 #D0345A
triadic
#D034A8 #A8D034 #34A8D0
tetradic
#D034A8 #D0AA34 #34D05C #345AD0
square
#D034A8 #D0AA34 #34D05C #345AD0
split-complementary
#D034A8 #5AD034 #34D0AA
monochromatic
#701A5A #A12582 #D034A8 #DC66BD #E797D3

Accessibility & contrast

On white

4.43
#D034A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#D034A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D034A8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D034A8#FFFFFF#000000##000000
##D034A81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4068AB
Deuteranopia (green-blind)
#7381A4
Tritanopia (blue-blind)
#DC396B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d034a8;
/* rgb */ color: rgb(208, 52, 168);
/* oklch */ color: oklch(60.1% 0.222 340.5);
Tailwind
colors: {
  custom: {
    50: '#e37bc2',
    500: '#d034a8',
    950: '#000000',
  },
}
SCSS
$custom: #d034a8;
$custom-light: #e37bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#d034a8",
  "rgb": {
    "r": 208,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 315.385,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.2223,
    "h": 340.5
  },
  "luminance": 0.18693
}

Semantic roles & 50–950 ramp

primary
#D034A8
secondary
#8DD29F
accent
#E56C42
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D034A8

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

Preview Lab → · Contrast checker → · Palette generator →

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