#D438AC#D438AC

#D438AC is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.2% C 0.223 H 340.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D438AC
RGBrgb(212, 56, 172)
HSLhsl(315, 64%, 53%)
HSVhsv(315, 74%, 83%)
CMYKcmyk(0%, 73.6%, 18.9%, 16.9%)
CIE-LABlab(51.62, 70.35, -27.78)
CIE-LCHlch(51.62, 75.63, 338.45°)
OKLaboklab(61.25% 0.2101 -0.0749)
OKLCHoklch(61.25% 0.223 340.4)
XYZxyz(36.0130, 19.8075, 40.9483)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D438AC #38D460
analogous
#AE38D4 #D438AC #D4385E
triadic
#D438AC #ACD438 #38ACD4
tetradic
#D438AC #D4AE38 #38D460 #385ED4
square
#D438AC #D4AE38 #38D460 #385ED4
split-complementary
#D438AC #5ED438 #38D4AE
monochromatic
#781A60 #AA2588 #D438AC #DF6AC1 #EA9DD6

Accessibility & contrast

On white

4.23
#D438AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D438AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D438AC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D438AC#FFFFFF#000000##000000
##D438AC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#E13D6E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d438ac;
/* rgb */ color: rgb(212, 56, 172);
/* oklch */ color: oklch(61.2% 0.223 340.4);
Tailwind
colors: {
  custom: {
    50: '#e57dc5',
    500: '#d438ac',
    950: '#000000',
  },
}
SCSS
$custom: #d438ac;
$custom-light: #e57dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d438ac",
  "rgb": {
    "r": 212,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 315.385,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61248,
    "c": 0.22305,
    "h": 340.4
  },
  "luminance": 0.19804
}

Semantic roles & 50–950 ramp

primary
#D438AC
secondary
#92D6A3
accent
#E76B40
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D438AC

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

Preview Lab → · Contrast checker → · Palette generator →

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