#D838B9#D838B9

#D838B9 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.5% C 0.234 H 337.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D838B9
RGBrgb(216, 56, 185)
HSLhsl(312, 67%, 53%)
HSVhsv(312, 74%, 85%)
CMYKcmyk(0%, 74.1%, 14.4%, 15.3%)
CIE-LABlab(52.88, 73.04, -33.36)
CIE-LCHlch(52.88, 80.30, 335.45°)
OKLaboklab(62.47% 0.2154 -0.0907)
OKLCHoklch(62.47% 0.234 337.2)
XYZxyz(38.4908, 20.9337, 47.9030)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D838B9 #38D857
analogous
#A738D8 #D838B9 #D83869
triadic
#D838B9 #B9D838 #38B9D8
tetradic
#D838B9 #D8A738 #38D857 #3869D8
square
#D838B9 #D8A738 #38D857 #3869D8
split-complementary
#D838B9 #69D838 #38D8A7
monochromatic
#7D196A #B02395 #D838B9 #E26BCB #EC9EDD

Accessibility & contrast

On white

4.05
#D838B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D838B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D838B9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D838B9#FFFFFF#000000##000000
##D838B91.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBC
Deuteranopia (green-blind)
#7487B5
Tritanopia (blue-blind)
#E44275
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d838b9;
/* rgb */ color: rgb(216, 56, 185);
/* oklch */ color: oklch(62.5% 0.234 337.2);
Tailwind
colors: {
  custom: {
    50: '#e87ece',
    500: '#d838b9',
    950: '#000000',
  },
}
SCSS
$custom: #d838b9;
$custom-light: #e87ece;
$custom-dark: #000000;
JSON
{
  "hex": "#d838b9",
  "rgb": {
    "r": 216,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 311.625,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.2337,
    "h": 337.2
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#D838B9
secondary
#93D8A1
accent
#EA5F3E
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #D838B9

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

Preview Lab → · Contrast checker → · Palette generator →

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