#D8497F#D8497F

#D8497F is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.184 H 0.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D8497F
RGBrgb(216, 73, 127)
HSLhsl(337, 65%, 57%)
HSVhsv(337, 66%, 85%)
CMYKcmyk(0%, 66.2%, 41.2%, 15.3%)
CIE-LABlab(52.84, 60.06, 0.82)
CIE-LCHlch(52.84, 60.07, 0.78°)
OKLaboklab(61.74% 0.1838 0.0028)
OKLCHoklch(61.74% 0.184 0.9)
XYZxyz(34.5346, 20.9005, 22.2901)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8497F #49D8A2
analogous
#D849C6 #D8497F #D85B49
triadic
#D8497F #7FD849 #497FD8
tetradic
#D8497F #C6D849 #49D8A2 #5B49D8
square
#D8497F #C6D849 #49D8A2 #5B49D8
split-complementary
#D8497F #49D85B #49C6D8
monochromatic
#891D46 #BC2860 #D8497F #E37BA2 #EEAEC6

Accessibility & contrast

On white

4.05
#D8497F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D8497F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8497F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8497F#FFFFFF#000000##000000
##D8497F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D80
Deuteranopia (green-blind)
#8C887C
Tritanopia (blue-blind)
#EA385F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8497f;
/* rgb */ color: rgb(216, 73, 127);
/* oklch */ color: oklch(61.7% 0.184 0.9);
Tailwind
colors: {
  custom: {
    50: '#e984a4',
    500: '#d8497f',
    950: '#000000',
  },
}
SCSS
$custom: #d8497f;
$custom-light: #e984a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8497f",
  "rgb": {
    "r": 216,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 337.343,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.18379,
    "h": 0.9
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#D8497F
secondary
#A1DCC6
accent
#E8A840
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D8497F

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

Preview Lab → · Contrast checker → · Palette generator →

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