#D838BB#D838BB

#D838BB is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.6% C 0.235 H 336.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D838BB
RGBrgb(216, 56, 187)
HSLhsl(311, 67%, 53%)
HSVhsv(311, 74%, 85%)
CMYKcmyk(0%, 74.1%, 13.4%, 15.3%)
CIE-LABlab(52.97, 73.32, -34.37)
CIE-LCHlch(52.97, 80.98, 334.88°)
OKLaboklab(62.57% 0.2156 -0.0936)
OKLCHoklch(62.57% 0.235 336.5)
XYZxyz(38.7034, 21.0187, 49.0227)
Luminance0.2102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D838BB #38D855
analogous
#A538D8 #D838BB #D8386B
triadic
#D838BB #BBD838 #38BBD8
tetradic
#D838BB #D8A538 #38D855 #386BD8
square
#D838BB #D8A538 #38D855 #386BD8
split-complementary
#D838BB #6BD838 #38D8A5
monochromatic
#7D196B #B02397 #D838BB #E26BCC #EC9EDE

Accessibility & contrast

On white

4.04
#D838BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D838BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D838BB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D838BB#FFFFFF#000000##000000
##D838BB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#7387B7
Tritanopia (blue-blind)
#E34376
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d838bb;
/* rgb */ color: rgb(216, 56, 187);
/* oklch */ color: oklch(62.6% 0.235 336.5);
Tailwind
colors: {
  custom: {
    50: '#e87ed0',
    500: '#d838bb',
    950: '#000000',
  },
}
SCSS
$custom: #d838bb;
$custom-light: #e87ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#d838bb",
  "rgb": {
    "r": 216,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 310.875,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62571,
    "c": 0.23502,
    "h": 336.5
  },
  "luminance": 0.21015
}

Semantic roles & 50–950 ramp

primary
#D838BB
secondary
#93D8A0
accent
#EA5D3E
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #D838BB

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

Preview Lab → · Contrast checker → · Palette generator →

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