#D842B3#D842B3

#D842B3 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 63.0% C 0.219 H 339.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#D842B3
RGBrgb(216, 66, 179)
HSLhsl(315, 66%, 55%)
HSVhsv(315, 69%, 85%)
CMYKcmyk(0%, 69.4%, 17.1%, 15.3%)
CIE-LABlab(53.76, 68.94, -28.49)
CIE-LCHlch(53.76, 74.59, 337.55°)
OKLaboklab(63.03% 0.2048 -0.077)
OKLCHoklch(63.03% 0.219 339.4)
XYZxyz(38.4047, 21.7537, 44.8153)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D842B3 #42D867
analogous
#B242D8 #D842B3 #D84268
triadic
#D842B3 #B3D842 #42B3D8
tetradic
#D842B3 #D8B242 #42D867 #4268D8
square
#D842B3 #D8B242 #42D867 #4268D8
split-complementary
#D842B3 #68D842 #42D8B2
monochromatic
#841B6A #B72693 #D842B3 #E275C7 #EDA7DC

Accessibility & contrast

On white

3.93
#D842B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#D842B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D842B3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D842B3#FFFFFF#000000##000000
##D842B31.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#E44775
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d842b3;
/* rgb */ color: rgb(216, 66, 179);
/* oklch */ color: oklch(63.0% 0.219 339.4);
Tailwind
colors: {
  custom: {
    50: '#e882ca',
    500: '#d842b3',
    950: '#000000',
  },
}
SCSS
$custom: #d842b3;
$custom-light: #e882ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d842b3",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 314.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63029,
    "c": 0.21876,
    "h": 339.4
  },
  "luminance": 0.2175
}

Semantic roles & 50–950 ramp

primary
#D842B3
secondary
#9CDAAB
accent
#E9693F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D842B3

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

Preview Lab → · Contrast checker → · Palette generator →

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