#D838B7#D838B7

#D838B7 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.4% C 0.232 H 337.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D838B7
RGBrgb(216, 56, 183)
HSLhsl(312, 67%, 53%)
HSVhsv(312, 74%, 85%)
CMYKcmyk(0%, 74.1%, 15.3%, 15.3%)
CIE-LABlab(52.78, 72.76, -32.34)
CIE-LCHlch(52.78, 79.63, 336.04°)
OKLaboklab(62.38% 0.2152 -0.0878)
OKLCHoklch(62.38% 0.232 337.8)
XYZxyz(38.2811, 20.8498, 46.7989)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D838B7 #38D859
analogous
#A938D8 #D838B7 #D83867
triadic
#D838B7 #B7D838 #38B7D8
tetradic
#D838B7 #D8A938 #38D859 #3867D8
square
#D838B7 #D8A938 #38D859 #3867D8
split-complementary
#D838B7 #67D838 #38D8A9
monochromatic
#7D1968 #B02393 #D838B7 #E26BCA #EC9EDC

Accessibility & contrast

On white

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

On black

5.17
#D838B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D838B7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D838B7#FFFFFF#000000##000000
##D838B71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#7587B3
Tritanopia (blue-blind)
#E44174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d838b7;
/* rgb */ color: rgb(216, 56, 183);
/* oklch */ color: oklch(62.4% 0.232 337.8);
Tailwind
colors: {
  custom: {
    50: '#e87ecd',
    500: '#d838b7',
    950: '#000000',
  },
}
SCSS
$custom: #d838b7;
$custom-light: #e87ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#d838b7",
  "rgb": {
    "r": 216,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 312.375,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.23239,
    "h": 337.8
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#D838B7
secondary
#93D8A2
accent
#EA613E
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #D838B7

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

Preview Lab → · Contrast checker → · Palette generator →

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