#D0399F#D0399F

#D0399F is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.1% C 0.212 H 344.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#D0399F
RGBrgb(208, 57, 159)
HSLhsl(319, 62%, 52%)
HSVhsv(319, 73%, 82%)
CMYKcmyk(0%, 72.6%, 23.6%, 18.4%)
CIE-LABlab(50.50, 67.36, -21.89)
CIE-LCHlch(50.50, 70.83, 342.00°)
OKLaboklab(60.13% 0.2033 -0.0584)
OKLCHoklch(60.13% 0.212 344)
XYZxyz(33.7349, 18.8429, 34.6546)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0399F #39D06A
analogous
#B639D0 #D0399F #D03954
triadic
#D0399F #9FD039 #399FD0
tetradic
#D0399F #D0B639 #39D06A #3954D0
square
#D0399F #D0B639 #39D06A #3954D0
split-complementary
#D0399F #54D039 #39D0B6
monochromatic
#731B57 #A5277C #D0399F #DC6AB7 #E79CCF

Accessibility & contrast

On white

4.40
#D0399F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#D0399F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0399F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0399F#FFFFFF#000000##000000
##D0399F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A68A2
Deuteranopia (green-blind)
#78819C
Tritanopia (blue-blind)
#DE3867
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d0399f;
/* rgb */ color: rgb(208, 57, 159);
/* oklch */ color: oklch(60.1% 0.212 344.0);
Tailwind
colors: {
  custom: {
    50: '#e37dbb',
    500: '#d0399f',
    950: '#000000',
  },
}
SCSS
$custom: #d0399f;
$custom-light: #e37dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#d0399f",
  "rgb": {
    "r": 208,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 319.47,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.21154,
    "h": 344
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#D0399F
secondary
#91D3A7
accent
#E57843
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D0399F

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

Preview Lab → · Contrast checker → · Palette generator →

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