#D438AB#D438AB

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

Color values

HEX#D438AB
RGBrgb(212, 56, 171)
HSLhsl(316, 64%, 53%)
HSVhsv(316, 74%, 83%)
CMYKcmyk(0%, 73.6%, 19.3%, 16.9%)
CIE-LABlab(51.58, 70.21, -27.26)
CIE-LCHlch(51.58, 75.32, 338.78°)
OKLaboklab(61.2% 0.2099 -0.0735)
OKLCHoklch(61.2% 0.222 340.7)
XYZxyz(35.9173, 19.7693, 40.4445)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D438AB #38D461
analogous
#AF38D4 #D438AB #D4385D
triadic
#D438AB #ABD438 #38ABD4
tetradic
#D438AB #D4AF38 #38D461 #385DD4
square
#D438AB #D4AF38 #38D461 #385DD4
split-complementary
#D438AB #5DD438 #38D4AF
monochromatic
#781A5F #AA2587 #D438AB #DF6AC0 #EA9DD5

Accessibility & contrast

On white

4.24
#D438AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D438AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D438AB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D438AB#FFFFFF#000000##000000
##D438AB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#7784A7
Tritanopia (blue-blind)
#E13C6D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d438ab;
/* rgb */ color: rgb(212, 56, 171);
/* oklch */ color: oklch(61.2% 0.222 340.7);
Tailwind
colors: {
  custom: {
    50: '#e57dc4',
    500: '#d438ab',
    950: '#000000',
  },
}
SCSS
$custom: #d438ab;
$custom-light: #e57dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d438ab",
  "rgb": {
    "r": 212,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 315.769,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61202,
    "c": 0.22242,
    "h": 340.7
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#D438AB
secondary
#92D6A4
accent
#E76C40
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D438AB

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

Preview Lab → · Contrast checker → · Palette generator →

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