#D862AF#D862AF

#D862AF is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.4% C 0.172 H 342.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D862AF
RGBrgb(216, 98, 175)
HSLhsl(321, 60%, 62%)
HSVhsv(321, 55%, 85%)
CMYKcmyk(0%, 54.6%, 19%, 15.3%)
CIE-LABlab(58.45, 55.13, -18.97)
CIE-LCHlch(58.45, 58.30, 341.01°)
OKLaboklab(66.42% 0.1642 -0.0505)
OKLCHoklch(66.42% 0.172 342.9)
XYZxyz(40.4253, 26.4328, 43.5221)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862AF #62D88B
analogous
#C662D8 #D862AF #D86274
triadic
#D862AF #AFD862 #62AFD8
tetradic
#D862AF #D8C662 #62D88B #6274D8
square
#D862AF #D8C662 #62D88B #6274D8
split-complementary
#D862AF #74D862 #62D8C6
monochromatic
#992671 #CA3296 #D862AF #E493C8 #F0C4E1

Accessibility & contrast

On white

3.34
#D862AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D862AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862AF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862AF#FFFFFF#000000##000000
##D862AF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A80B2
Deuteranopia (green-blind)
#8B94AC
Tritanopia (blue-blind)
#E46281
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d862af;
/* rgb */ color: rgb(216, 98, 175);
/* oklch */ color: oklch(66.4% 0.172 342.9);
Tailwind
colors: {
  custom: {
    50: '#e793c7',
    500: '#d862af',
    950: '#000000',
  },
}
SCSS
$custom: #d862af;
$custom-light: #e793c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d862af",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 320.847,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66415,
    "c": 0.17176,
    "h": 342.9
  },
  "luminance": 0.26429
}

Semantic roles & 50–950 ramp

primary
#D862AF
secondary
#B5E1C4
accent
#C8591E
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D862AF

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

Preview Lab → · Contrast checker → · Palette generator →

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