#D838B8#D838B8

#D838B8 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.4% C 0.233 H 337.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D838B8
RGBrgb(216, 56, 184)
HSLhsl(312, 67%, 53%)
HSVhsv(312, 74%, 85%)
CMYKcmyk(0%, 74.1%, 14.8%, 15.3%)
CIE-LABlab(52.83, 72.90, -32.85)
CIE-LCHlch(52.83, 79.96, 335.74°)
OKLaboklab(62.43% 0.2153 -0.0893)
OKLCHoklch(62.43% 0.233 337.5)
XYZxyz(38.3856, 20.8916, 47.3490)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D838B8 #38D858
analogous
#A838D8 #D838B8 #D83868
triadic
#D838B8 #B8D838 #38B8D8
tetradic
#D838B8 #D8A838 #38D858 #3868D8
square
#D838B8 #D8A838 #38D858 #3868D8
split-complementary
#D838B8 #68D838 #38D8A8
monochromatic
#7D1969 #B02394 #D838B8 #E26BCA #EC9EDD

Accessibility & contrast

On white

4.06
#D838B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D838B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D838B8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D838B8#FFFFFF#000000##000000
##D838B81.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBB
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#E44274
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d838b8;
/* rgb */ color: rgb(216, 56, 184);
/* oklch */ color: oklch(62.4% 0.233 337.5);
Tailwind
colors: {
  custom: {
    50: '#e87ecd',
    500: '#d838b8',
    950: '#000000',
  },
}
SCSS
$custom: #d838b8;
$custom-light: #e87ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#d838b8",
  "rgb": {
    "r": 216,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 312,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62426,
    "c": 0.23303,
    "h": 337.5
  },
  "luminance": 0.20888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D838B8

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

Preview Lab → · Contrast checker → · Palette generator →

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