#D8438D#D8438D

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

Color values

HEX#D8438D
RGBrgb(216, 67, 141)
HSLhsl(330, 66%, 55%)
HSVhsv(330, 69%, 85%)
CMYKcmyk(0%, 69%, 34.7%, 15.3%)
CIE-LABlab(52.44, 63.83, -8.12)
CIE-LCHlch(52.44, 64.35, 352.75°)
OKLaboklab(61.59% 0.1954 -0.0207)
OKLCHoklch(61.59% 0.196 354)
XYZxyz(35.1358, 20.5404, 27.3085)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8438D #43D88E
analogous
#D843D8 #D8438D #D84343
triadic
#D8438D #8DD843 #438DD8
tetradic
#D8438D #D8D843 #43D88E #4343D8
square
#D8438D #D8D843 #43D88E #4343D8
split-complementary
#D8438D #43D843 #43D8D8
monochromatic
#851C50 #B8266E #D8438D #E376AC #EDA8CA

Accessibility & contrast

On white

4.11
#D8438D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D8438D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8438D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8438D#FFFFFF#000000##000000
##D8438D1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#E83762
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8438d;
/* rgb */ color: rgb(216, 67, 141);
/* oklch */ color: oklch(61.6% 0.196 354.0);
Tailwind
colors: {
  custom: {
    50: '#e982ae',
    500: '#d8438d',
    950: '#000000',
  },
}
SCSS
$custom: #d8438d;
$custom-light: #e982ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d8438d",
  "rgb": {
    "r": 216,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 330.201,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.19646,
    "h": 354
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8438D

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

Preview Lab → · Contrast checker → · Palette generator →

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