#D04298#D04298

#D04298 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.7% C 0.197 H 347.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D04298
RGBrgb(208, 66, 152)
HSLhsl(324, 60%, 54%)
HSVhsv(324, 68%, 82%)
CMYKcmyk(0%, 68.3%, 26.9%, 18.4%)
CIE-LABlab(51.36, 63.32, -16.44)
CIE-LCHlch(51.36, 65.42, 345.45°)
OKLaboklab(60.66% 0.1921 -0.0433)
OKLCHoklch(60.66% 0.197 347.3)
XYZxyz(33.6296, 19.5769, 31.7073)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04298 #42D07A
analogous
#C142D0 #D04298 #D04251
triadic
#D04298 #98D042 #4298D0
tetradic
#D04298 #D0C142 #42D07A #4251D0
square
#D04298 #D0C142 #42D07A #4251D0
split-complementary
#D04298 #51D042 #42D0C1
monochromatic
#791E55 #AA2A78 #D04298 #DC73B3 #E8A4CD

Accessibility & contrast

On white

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

On black

4.91
#D04298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04298
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04298#FFFFFF#000000##000000
##D042981.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#546B9A
Deuteranopia (green-blind)
#7E8395
Tritanopia (blue-blind)
#DE3E67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04298;
/* rgb */ color: rgb(208, 66, 152);
/* oklch */ color: oklch(60.7% 0.197 347.3);
Tailwind
colors: {
  custom: {
    50: '#e281b6',
    500: '#d04298',
    950: '#000000',
  },
}
SCSS
$custom: #d04298;
$custom-light: #e281b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d04298",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 323.662,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60663,
    "c": 0.19692,
    "h": 347.3
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#D04298
secondary
#99D5B0
accent
#E38344
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #D04298

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

Preview Lab → · Contrast checker → · Palette generator →

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