#D8457C#D8457C

#D8457C is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.2% C 0.188 H 1.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D8457C
RGBrgb(216, 69, 124)
HSLhsl(338, 65%, 56%)
HSVhsv(338, 68%, 85%)
CMYKcmyk(0%, 68.1%, 42.6%, 15.3%)
CIE-LABlab(52.19, 61.31, 1.67)
CIE-LCHlch(52.19, 61.34, 1.56°)
OKLaboklab(61.23% 0.1877 0.005)
OKLCHoklch(61.23% 0.188 1.5)
XYZxyz(34.0876, 20.3146, 21.1909)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8457C #45D8A1
analogous
#D845C5 #D8457C #D85745
triadic
#D8457C #7CD845 #457CD8
tetradic
#D8457C #C5D845 #45D8A1 #5745D8
square
#D8457C #C5D845 #45D8A1 #5745D8
split-complementary
#D8457C #45D857 #45C5D8
monochromatic
#861C44 #B9275D #D8457C #E378A0 #EDAAC3

Accessibility & contrast

On white

4.15
#D8457C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D8457C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8457C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8457C#FFFFFF#000000##000000
##D8457C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7D
Deuteranopia (green-blind)
#8B8779
Tritanopia (blue-blind)
#EA315B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d8457c;
/* rgb */ color: rgb(216, 69, 124);
/* oklch */ color: oklch(61.2% 0.188 1.5);
Tailwind
colors: {
  custom: {
    50: '#e982a1',
    500: '#d8457c',
    950: '#000000',
  },
}
SCSS
$custom: #d8457c;
$custom-light: #e982a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8457c",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 337.551,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.18775,
    "h": 1.5
  },
  "luminance": 0.2031
}

Semantic roles & 50–950 ramp

primary
#D8457C
secondary
#9EDBC4
accent
#E8A940
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D8457C

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

Preview Lab → · Contrast checker → · Palette generator →

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