#D8457F#D8457F

#D8457F is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.189 H 0.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D8457F
RGBrgb(216, 69, 127)
HSLhsl(336, 65%, 56%)
HSVhsv(336, 68%, 85%)
CMYKcmyk(0%, 68.1%, 41.2%, 15.3%)
CIE-LABlab(52.28, 61.61, -0.00)
CIE-LCHlch(52.28, 61.61, 360.00°)
OKLaboklab(61.32% 0.1887 0.0007)
OKLCHoklch(61.32% 0.189 0.2)
XYZxyz(34.2802, 20.3917, 22.2053)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8457F #45D89E
analogous
#D845C8 #D8457F #D85545
triadic
#D8457F #7FD845 #457FD8
tetradic
#D8457F #C8D845 #45D89E #5545D8
square
#D8457F #C8D845 #45D89E #5545D8
split-complementary
#D8457F #45D855 #45C8D8
monochromatic
#861C46 #B92760 #D8457F #E378A2 #EDAAC5

Accessibility & contrast

On white

4.14
#D8457F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D8457F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8457F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8457F#FFFFFF#000000##000000
##D8457F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B81
Deuteranopia (green-blind)
#8A877C
Tritanopia (blue-blind)
#EA335D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8457f;
/* rgb */ color: rgb(216, 69, 127);
/* oklch */ color: oklch(61.3% 0.189 0.2);
Tailwind
colors: {
  custom: {
    50: '#e982a4',
    500: '#d8457f',
    950: '#000000',
  },
}
SCSS
$custom: #d8457f;
$custom-light: #e982a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8457f",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 336.327,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.18869,
    "h": 0.2
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#D8457F
secondary
#9EDBC3
accent
#E8A640
background
#FFF8FA
surface
#FEF0F3
border
#D6CBCD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D8457F

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

Preview Lab → · Contrast checker → · Palette generator →

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