#D438B6#D438B6

#D438B6 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.7% C 0.229 H 337.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D438B6
RGBrgb(212, 56, 182)
HSLhsl(312, 64%, 53%)
HSVhsv(312, 74%, 83%)
CMYKcmyk(0%, 73.6%, 14.2%, 16.9%)
CIE-LABlab(52.07, 71.71, -32.92)
CIE-LCHlch(52.07, 78.91, 335.34°)
OKLaboklab(61.72% 0.2113 -0.0896)
OKLCHoklch(61.72% 0.229 337)
XYZxyz(37.0097, 20.2062, 46.1979)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D438B6 #38D456
analogous
#A438D4 #D438B6 #D43868
triadic
#D438B6 #B6D438 #38B6D4
tetradic
#D438B6 #D4A438 #38D456 #3868D4
square
#D438B6 #D4A438 #38D456 #3868D4
split-complementary
#D438B6 #68D438 #38D4A4
monochromatic
#781A66 #AA2590 #D438B6 #DF6AC8 #EA9DDB

Accessibility & contrast

On white

4.17
#D438B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D438B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D438B6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D438B6#FFFFFF#000000##000000
##D438B61.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB9
Deuteranopia (green-blind)
#7285B2
Tritanopia (blue-blind)
#DF4273
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d438b6;
/* rgb */ color: rgb(212, 56, 182);
/* oklch */ color: oklch(61.7% 0.229 337.0);
Tailwind
colors: {
  custom: {
    50: '#e57ecc',
    500: '#d438b6',
    950: '#000000',
  },
}
SCSS
$custom: #d438b6;
$custom-light: #e57ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#d438b6",
  "rgb": {
    "r": 212,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 311.538,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.22949,
    "h": 337
  },
  "luminance": 0.20203
}

Semantic roles & 50–950 ramp

primary
#D438B6
secondary
#92D69F
accent
#E76040
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D438B6

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

Preview Lab → · Contrast checker → · Palette generator →

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