#D0418C#D0418C

#D0418C is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.192 H 352.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D0418C
RGBrgb(208, 65, 140)
HSLhsl(329, 60%, 54%)
HSVhsv(329, 69%, 82%)
CMYKcmyk(0%, 68.8%, 32.7%, 18.4%)
CIE-LABlab(50.79, 62.25, -10.14)
CIE-LCHlch(50.79, 63.07, 350.75°)
OKLaboklab(60.11% 0.1902 -0.0261)
OKLCHoklch(60.11% 0.192 352.2)
XYZxyz(32.6381, 19.0876, 26.7713)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0418C #41D085
analogous
#CC41D0 #D0418C #D04144
triadic
#D0418C #8CD041 #418CD0
tetradic
#D0418C #D0CC41 #41D085 #4144D0
square
#D0418C #D0CC41 #41D085 #4144D0
split-complementary
#D0418C #44D041 #41D0CC
monochromatic
#791E4E #AA2A6D #D0418C #DC72AA #E8A3C7

Accessibility & contrast

On white

4.36
#D0418C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D0418C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0418C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0418C#FFFFFF#000000##000000
##D0418C1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#58688E
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#DF3761
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d0418c;
/* rgb */ color: rgb(208, 65, 140);
/* oklch */ color: oklch(60.1% 0.192 352.2);
Tailwind
colors: {
  custom: {
    50: '#e380ad',
    500: '#d0418c',
    950: '#000000',
  },
}
SCSS
$custom: #d0418c;
$custom-light: #e380ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d0418c",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 328.531,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.19199,
    "h": 352.2
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#D0418C
secondary
#98D5B5
accent
#E39044
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D0418C

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

Preview Lab → · Contrast checker → · Palette generator →

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