#D8458D#D8458D

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

Color values

HEX#D8458D
RGBrgb(216, 69, 141)
HSLhsl(331, 65%, 56%)
HSVhsv(331, 68%, 85%)
CMYKcmyk(0%, 68.1%, 34.7%, 15.3%)
CIE-LABlab(52.71, 63.09, -7.72)
CIE-LCHlch(52.71, 63.56, 353.02°)
OKLaboklab(61.79% 0.193 -0.0196)
OKLCHoklch(61.79% 0.194 354.2)
XYZxyz(35.2568, 20.7823, 27.3488)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8458D #45D890
analogous
#D845D6 #D8458D #D84645
triadic
#D8458D #8DD845 #458DD8
tetradic
#D8458D #D6D845 #45D890 #4645D8
square
#D8458D #D6D845 #45D890 #4645D8
split-complementary
#D8458D #45D846 #45D6D8
monochromatic
#861C50 #B9276E #D8458D #E378AC #EDAACB

Accessibility & contrast

On white

4.07
#D8458D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D8458D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8458D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8458D#FFFFFF#000000##000000
##D8458D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D8F
Deuteranopia (green-blind)
#87888A
Tritanopia (blue-blind)
#E83963
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8458d;
/* rgb */ color: rgb(216, 69, 141);
/* oklch */ color: oklch(61.8% 0.194 354.2);
Tailwind
colors: {
  custom: {
    50: '#e983ae',
    500: '#d8458d',
    950: '#000000',
  },
}
SCSS
$custom: #d8458d;
$custom-light: #e983ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d8458d",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 330.612,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.19402,
    "h": 354.2
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8458D

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

Preview Lab → · Contrast checker → · Palette generator →

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