#D381BC#D381BC

#D381BC is a light, vivid pink. Relative luminance 0.332; OKLCH L 70.8% C 0.125 H 338.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D381BC
RGBrgb(211, 129, 188)
HSLhsl(317, 48%, 67%)
HSVhsv(317, 39%, 83%)
CMYKcmyk(0%, 38.9%, 10.9%, 17.3%)
CIE-LABlab(64.31, 40.02, -17.53)
CIE-LCHlch(64.31, 43.69, 336.34°)
OKLaboklab(70.82% 0.1162 -0.0469)
OKLCHoklch(70.82% 0.125 338)
XYZxyz(43.7913, 33.1827, 51.6655)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D381BC #81D398
analogous
#C181D3 #D381BC #D38193
triadic
#D381BC #BCD381 #81BCD3
tetradic
#D381BC #D3C181 #81D398 #8193D3
square
#D381BC #D3C181 #81D398 #8193D3
split-complementary
#D381BC #93D381 #81D3C1
monochromatic
#A13884 #C354A4 #D381BC #E3AED4 #F3DCEC

Accessibility & contrast

On white

2.75
#D381BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D381BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D381BC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D381BC#FFFFFF#000000##000000
##D381BC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BE
Deuteranopia (green-blind)
#98A0BA
Tritanopia (blue-blind)
#DB8397
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d381bc;
/* rgb */ color: rgb(211, 129, 188);
/* oklch */ color: oklch(70.8% 0.125 338.0);
Tailwind
colors: {
  custom: {
    50: '#e2a7d0',
    500: '#d381bc',
    950: '#000000',
  },
}
SCSS
$custom: #d381bc;
$custom-light: #e2a7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d381bc",
  "rgb": {
    "r": 211,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 316.829,
    "s": 48.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70824,
    "c": 0.12532,
    "h": 338
  },
  "luminance": 0.3318
}

Semantic roles & 50–950 ramp

primary
#D381BC
secondary
#CBE5D2
accent
#BC532A
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#151014
muted
#847F82

Preview Lab

Preview with #D381BC

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

Preview Lab → · Contrast checker → · Palette generator →

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