#D04198#D04198

#D04198 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.6% C 0.198 H 347.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D04198
RGBrgb(208, 65, 152)
HSLhsl(323, 60%, 54%)
HSVhsv(323, 69%, 82%)
CMYKcmyk(0%, 68.8%, 26.9%, 18.4%)
CIE-LABlab(51.22, 63.69, -16.64)
CIE-LCHlch(51.22, 65.83, 345.36°)
OKLaboklab(60.57% 0.1932 -0.0439)
OKLCHoklch(60.57% 0.198 347.2)
XYZxyz(33.5717, 19.4610, 31.6880)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04198 #41D079
analogous
#C141D0 #D04198 #D04150
triadic
#D04198 #98D041 #4198D0
tetradic
#D04198 #D0C141 #41D079 #4150D0
square
#D04198 #D0C141 #41D079 #4150D0
split-complementary
#D04198 #50D041 #41D0C1
monochromatic
#791E55 #AA2A78 #D04198 #DC72B3 #E8A3CD

Accessibility & contrast

On white

4.29
#D04198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#D04198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04198
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04198#FFFFFF#000000##000000
##D041981.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#536A9A
Deuteranopia (green-blind)
#7D8395
Tritanopia (blue-blind)
#DE3D67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04198;
/* rgb */ color: rgb(208, 65, 152);
/* oklch */ color: oklch(60.6% 0.198 347.2);
Tailwind
colors: {
  custom: {
    50: '#e380b6',
    500: '#d04198',
    950: '#000000',
  },
}
SCSS
$custom: #d04198;
$custom-light: #e380b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d04198",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 323.497,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60566,
    "c": 0.19816,
    "h": 347.2
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04198

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

Preview Lab → · Contrast checker → · Palette generator →

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