#D438B5#D438B5

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

Color values

HEX#D438B5
RGBrgb(212, 56, 181)
HSLhsl(312, 64%, 53%)
HSVhsv(312, 74%, 83%)
CMYKcmyk(0%, 73.6%, 14.6%, 16.9%)
CIE-LABlab(52.02, 71.57, -32.41)
CIE-LCHlch(52.02, 78.57, 335.63°)
OKLaboklab(61.67% 0.2112 -0.0881)
OKLCHoklch(61.67% 0.229 337.4)
XYZxyz(36.9068, 20.1650, 45.6556)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D438B5 #38D457
analogous
#A538D4 #D438B5 #D43867
triadic
#D438B5 #B5D438 #38B5D4
tetradic
#D438B5 #D4A538 #38D457 #3867D4
square
#D438B5 #D4A538 #38D457 #3867D4
split-complementary
#D438B5 #67D438 #38D4A5
monochromatic
#781A65 #AA2590 #D438B5 #DF6AC8 #EA9DDA

Accessibility & contrast

On white

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

On black

5.03
#D438B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D438B5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D438B5#FFFFFF#000000##000000
##D438B51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB8
Deuteranopia (green-blind)
#7385B1
Tritanopia (blue-blind)
#DF4173
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d438b5;
/* rgb */ color: rgb(212, 56, 181);
/* oklch */ color: oklch(61.7% 0.229 337.4);
Tailwind
colors: {
  custom: {
    50: '#e57ecb',
    500: '#d438b5',
    950: '#000000',
  },
}
SCSS
$custom: #d438b5;
$custom-light: #e57ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#d438b5",
  "rgb": {
    "r": 212,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 311.923,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61672,
    "c": 0.22883,
    "h": 337.4
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#D438B5
secondary
#92D69F
accent
#E76240
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D438B5

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

Preview Lab → · Contrast checker → · Palette generator →

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