#D8438B#D8438B

#D8438B is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.196 H 354.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D8438B
RGBrgb(216, 67, 139)
HSLhsl(331, 66%, 55%)
HSVhsv(331, 69%, 85%)
CMYKcmyk(0%, 69%, 35.6%, 15.3%)
CIE-LABlab(52.38, 63.61, -7.03)
CIE-LCHlch(52.38, 64.00, 353.70°)
OKLaboklab(61.52% 0.1948 -0.0177)
OKLCHoklch(61.52% 0.196 354.8)
XYZxyz(34.9884, 20.4814, 26.5319)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8438B #43D890
analogous
#D843D5 #D8438B #D84543
triadic
#D8438B #8BD843 #438BD8
tetradic
#D8438B #D5D843 #43D890 #4543D8
square
#D8438B #D5D843 #43D890 #4543D8
split-complementary
#D8438B #43D845 #43D5D8
monochromatic
#851C4F #B8266C #D8438B #E376AA #EDA8CA

Accessibility & contrast

On white

4.12
#D8438B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D8438B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8438B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8438B#FFFFFF#000000##000000
##D8438B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8D
Deuteranopia (green-blind)
#878788
Tritanopia (blue-blind)
#E93661
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8438b;
/* rgb */ color: rgb(216, 67, 139);
/* oklch */ color: oklch(61.5% 0.196 354.8);
Tailwind
colors: {
  custom: {
    50: '#e982ac',
    500: '#d8438b',
    950: '#000000',
  },
}
SCSS
$custom: #d8438b;
$custom-light: #e982ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8438b",
  "rgb": {
    "r": 216,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 331.007,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.1956,
    "h": 354.8
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#D8438B
secondary
#9CDABC
accent
#E9973F
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8438B

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

Preview Lab → · Contrast checker → · Palette generator →

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