#D862BF#D862BF

#D862BF is a light, vivid pink. Relative luminance 0.271; OKLCH L 67.1% C 0.183 H 336.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D862BF
RGBrgb(216, 98, 191)
HSLhsl(313, 60%, 62%)
HSVhsv(313, 55%, 85%)
CMYKcmyk(0%, 54.6%, 11.6%, 15.3%)
CIE-LABlab(59.07, 57.55, -27.20)
CIE-LCHlch(59.07, 63.66, 334.70°)
OKLaboklab(67.08% 0.1677 -0.0736)
OKLCHoklch(67.08% 0.183 336.3)
XYZxyz(42.0909, 27.0990, 52.2938)
Luminance0.2710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862BF #62D87B
analogous
#B662D8 #D862BF #D86284
triadic
#D862BF #BFD862 #62BFD8
tetradic
#D862BF #D8B662 #62D87B #6284D8
square
#D862BF #D8B662 #62D87B #6284D8
split-complementary
#D862BF #84D862 #62D8B6
monochromatic
#992681 #CA32AA #D862BF #E493D3 #F0C4E7

Accessibility & contrast

On white

3.27
#D862BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D862BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862BF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862BF#FFFFFF#000000##000000
##D862BF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#8695BC
Tritanopia (blue-blind)
#E26788
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d862bf;
/* rgb */ color: rgb(216, 98, 191);
/* oklch */ color: oklch(67.1% 0.183 336.3);
Tailwind
colors: {
  custom: {
    50: '#e794d2',
    500: '#d862bf',
    950: '#000000',
  },
}
SCSS
$custom: #d862bf;
$custom-light: #e794d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d862bf",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 312.712,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67078,
    "c": 0.18314,
    "h": 336.3
  },
  "luminance": 0.27096
}

Semantic roles & 50–950 ramp

primary
#D862BF
secondary
#B5E1BE
accent
#C8421E
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D862BF

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

Preview Lab → · Contrast checker → · Palette generator →

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