#D842BC#D842BC

#D842BC is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.4% C 0.225 H 336.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D842BC
RGBrgb(216, 66, 188)
HSLhsl(311, 66%, 55%)
HSVhsv(311, 69%, 85%)
CMYKcmyk(0%, 69.4%, 13%, 15.3%)
CIE-LABlab(54.16, 70.20, -33.09)
CIE-LCHlch(54.16, 77.61, 334.77°)
OKLaboklab(63.45% 0.206 -0.09)
OKLCHoklch(63.45% 0.225 336.4)
XYZxyz(39.3448, 22.1297, 49.7665)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D842BC #42D85E
analogous
#A942D8 #D842BC #D84271
triadic
#D842BC #BCD842 #42BCD8
tetradic
#D842BC #D8A942 #42D85E #4271D8
square
#D842BC #D8A942 #42D85E #4271D8
split-complementary
#D842BC #71D842 #42D8A9
monochromatic
#841B71 #B7269C #D842BC #E275CE #EDA7E0

Accessibility & contrast

On white

3.87
#D842BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D842BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D842BC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D842BC#FFFFFF#000000##000000
##D842BC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#778AB8
Tritanopia (blue-blind)
#E34B7A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d842bc;
/* rgb */ color: rgb(216, 66, 188);
/* oklch */ color: oklch(63.4% 0.225 336.4);
Tailwind
colors: {
  custom: {
    50: '#e883d0',
    500: '#d842bc',
    950: '#000000',
  },
}
SCSS
$custom: #d842bc;
$custom-light: #e883d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d842bc",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 311.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63449,
    "c": 0.22478,
    "h": 336.4
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#D842BC
secondary
#9CDAA7
accent
#E95F3F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D842BC

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

Preview Lab → · Contrast checker → · Palette generator →

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