#D8438E#D8438E

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

Color values

HEX#D8438E
RGBrgb(216, 67, 142)
HSLhsl(330, 66%, 55%)
HSVhsv(330, 69%, 85%)
CMYKcmyk(0%, 69%, 34.3%, 15.3%)
CIE-LABlab(52.48, 63.94, -8.67)
CIE-LCHlch(52.48, 64.53, 352.28°)
OKLaboklab(61.62% 0.1957 -0.0221)
OKLCHoklch(61.62% 0.197 353.5)
XYZxyz(35.2106, 20.5703, 27.7022)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8438E #43D88D
analogous
#D843D8 #D8438E #D84343
triadic
#D8438E #8ED843 #438ED8
tetradic
#D8438E #D8D843 #43D88D #4343D8
square
#D8438E #D8D843 #43D88D #4343D8
split-complementary
#D8438E #43D843 #43D8D8
monochromatic
#851C51 #B8266F #D8438E #E376AC #EDA8CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8438E#FFFFFF#000000##000000
##D8438E1.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)
#5C6C90
Deuteranopia (green-blind)
#86878B
Tritanopia (blue-blind)
#E83763
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8438e;
/* rgb */ color: rgb(216, 67, 142);
/* oklch */ color: oklch(61.6% 0.197 353.5);
Tailwind
colors: {
  custom: {
    50: '#e982af',
    500: '#d8438e',
    950: '#000000',
  },
}
SCSS
$custom: #d8438e;
$custom-light: #e982af;
$custom-dark: #000000;
JSON
{
  "hex": "#d8438e",
  "rgb": {
    "r": 216,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 329.799,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61623,
    "c": 0.19691,
    "h": 353.5
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#D8438E
secondary
#9CDABB
accent
#E9933F
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8438E

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

Preview Lab → · Contrast checker → · Palette generator →

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