#D8458C#D8458C

#D8458C is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.8% C 0.194 H 354.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D8458C
RGBrgb(216, 69, 140)
HSLhsl(331, 65%, 56%)
HSVhsv(331, 68%, 85%)
CMYKcmyk(0%, 68.1%, 35.2%, 15.3%)
CIE-LABlab(52.68, 62.98, -7.18)
CIE-LCHlch(52.68, 63.39, 353.50°)
OKLaboklab(61.75% 0.1927 -0.0181)
OKLCHoklch(61.75% 0.194 354.6)
XYZxyz(35.1827, 20.7527, 26.9587)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8458C #45D891
analogous
#D845D6 #D8458C #D84745
triadic
#D8458C #8CD845 #458CD8
tetradic
#D8458C #D6D845 #45D891 #4745D8
square
#D8458C #D6D845 #45D891 #4745D8
split-complementary
#D8458C #45D847 #45D6D8
monochromatic
#861C4F #B9276D #D8458C #E378AB #EDAACB

Accessibility & contrast

On white

4.08
#D8458C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D8458C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8458C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8458C#FFFFFF#000000##000000
##D8458C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8E
Deuteranopia (green-blind)
#878889
Tritanopia (blue-blind)
#E83963
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8458c;
/* rgb */ color: rgb(216, 69, 140);
/* oklch */ color: oklch(61.8% 0.194 354.6);
Tailwind
colors: {
  custom: {
    50: '#e983ad',
    500: '#d8458c',
    950: '#000000',
  },
}
SCSS
$custom: #d8458c;
$custom-light: #e983ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8458c",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 331.02,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.19359,
    "h": 354.6
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#D8458C
secondary
#9EDBBD
accent
#E89740
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8458C

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

Preview Lab → · Contrast checker → · Palette generator →

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