#D0397F#D0397F

#D0397F is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.196 H 356.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D0397F
RGBrgb(208, 57, 127)
HSLhsl(332, 62%, 52%)
HSVhsv(332, 73%, 82%)
CMYKcmyk(0%, 72.6%, 38.9%, 18.4%)
CIE-LABlab(49.34, 63.67, -4.48)
CIE-LCHlch(49.34, 63.83, 355.97°)
OKLaboklab(58.9% 0.1954 -0.011)
OKLCHoklch(58.9% 0.196 356.8)
XYZxyz(31.3085, 17.8723, 21.8756)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0397F #39D08A
analogous
#D039CB #D0397F #D03E39
triadic
#D0397F #7FD039 #397FD0
tetradic
#D0397F #CBD039 #39D08A #3E39D0
square
#D0397F #CBD039 #39D08A #3E39D0
split-complementary
#D0397F #39D03E #39CBD0
monochromatic
#731B44 #A52761 #D0397F #DC6A9F #E79CBF

Accessibility & contrast

On white

4.59
#D0397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#D0397F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D0397F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0397F#FFFFFF#000000##FFFFFF
##D0397F1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576381
Deuteranopia (green-blind)
#81807C
Tritanopia (blue-blind)
#E12757
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d0397f;
/* rgb */ color: rgb(208, 57, 127);
/* oklch */ color: oklch(58.9% 0.196 356.8);
Tailwind
colors: {
  custom: {
    50: '#e47ca4',
    500: '#d0397f',
    950: '#000000',
  },
}
SCSS
$custom: #d0397f;
$custom-light: #e47ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d0397f",
  "rgb": {
    "r": 208,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 332.185,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58901,
    "c": 0.19572,
    "h": 356.8
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#D0397F
secondary
#91D3B5
accent
#E59A43
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #D0397F

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

Preview Lab → · Contrast checker → · Palette generator →

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