#D8438A#D8438A

#D8438A is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.5% C 0.195 H 355.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D8438A
RGBrgb(216, 67, 138)
HSLhsl(331, 66%, 55%)
HSVhsv(331, 69%, 85%)
CMYKcmyk(0%, 69%, 36.1%, 15.3%)
CIE-LABlab(52.34, 63.50, -6.48)
CIE-LCHlch(52.34, 63.83, 354.17°)
OKLaboklab(61.48% 0.1945 -0.0163)
OKLCHoklch(61.48% 0.195 355.2)
XYZxyz(34.9157, 20.4523, 26.1488)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8438A #43D891
analogous
#D843D5 #D8438A #D84643
triadic
#D8438A #8AD843 #438AD8
tetradic
#D8438A #D5D843 #43D891 #4643D8
square
#D8438A #D5D843 #43D891 #4643D8
split-complementary
#D8438A #43D846 #43D5D8
monochromatic
#851C4E #B8266B #D8438A #E376AA #EDA8C9

Accessibility & contrast

On white

4.13
#D8438A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D8438A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8438A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8438A#FFFFFF#000000##000000
##D8438A1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#E93561
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8438a;
/* rgb */ color: rgb(216, 67, 138);
/* oklch */ color: oklch(61.5% 0.195 355.2);
Tailwind
colors: {
  custom: {
    50: '#e982ac',
    500: '#d8438a',
    950: '#000000',
  },
}
SCSS
$custom: #d8438a;
$custom-light: #e982ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8438a",
  "rgb": {
    "r": 216,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 331.409,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.19518,
    "h": 355.2
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#D8438A
secondary
#9CDABD
accent
#E9983F
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8438A

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

Preview Lab → · Contrast checker → · Palette generator →

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