#D8438C#D8438C

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

Color values

HEX#D8438C
RGBrgb(216, 67, 140)
HSLhsl(331, 66%, 55%)
HSVhsv(331, 69%, 85%)
CMYKcmyk(0%, 69%, 35.2%, 15.3%)
CIE-LABlab(52.41, 63.72, -7.58)
CIE-LCHlch(52.41, 64.17, 353.22°)
OKLaboklab(61.55% 0.1951 -0.0192)
OKLCHoklch(61.55% 0.196 354.4)
XYZxyz(35.0618, 20.5108, 26.9184)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8438C #43D88F
analogous
#D843D7 #D8438C #D84443
triadic
#D8438C #8CD843 #438CD8
tetradic
#D8438C #D7D843 #43D88F #4443D8
square
#D8438C #D7D843 #43D88F #4443D8
split-complementary
#D8438C #43D844 #43D7D8
monochromatic
#851C4F #B8266D #D8438C #E376AB #EDA8CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8438C#FFFFFF#000000##000000
##D8438C1.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)
#5D6C8E
Deuteranopia (green-blind)
#878789
Tritanopia (blue-blind)
#E93662
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8438c;
/* rgb */ color: rgb(216, 67, 140);
/* oklch */ color: oklch(61.6% 0.196 354.4);
Tailwind
colors: {
  custom: {
    50: '#e982ad',
    500: '#d8438c',
    950: '#000000',
  },
}
SCSS
$custom: #d8438c;
$custom-light: #e982ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8438c",
  "rgb": {
    "r": 216,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 330.604,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61553,
    "c": 0.19602,
    "h": 354.4
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8438C

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

Preview Lab → · Contrast checker → · Palette generator →

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