#D842BF#D842BF

#D842BF is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.6% C 0.227 H 335.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D842BF
RGBrgb(216, 66, 191)
HSLhsl(310, 66%, 55%)
HSVhsv(310, 69%, 85%)
CMYKcmyk(0%, 69.4%, 11.6%, 15.3%)
CIE-LABlab(54.30, 70.64, -34.60)
CIE-LCHlch(54.30, 78.66, 333.90°)
OKLaboklab(63.59% 0.2063 -0.0944)
OKLCHoklch(63.59% 0.227 335.4)
XYZxyz(39.6716, 22.2604, 51.4874)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D842BF #42D85B
analogous
#A642D8 #D842BF #D84274
triadic
#D842BF #BFD842 #42BFD8
tetradic
#D842BF #D8A642 #42D85B #4274D8
square
#D842BF #D8A642 #42D85B #4274D8
split-complementary
#D842BF #74D842 #42D8A6
monochromatic
#841B73 #B7269F #D842BF #E275D0 #EDA7E1

Accessibility & contrast

On white

3.85
#D842BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D842BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D842BF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D842BF#FFFFFF#000000##000000
##D842BF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C3
Deuteranopia (green-blind)
#768ABB
Tritanopia (blue-blind)
#E34D7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d842bf;
/* rgb */ color: rgb(216, 66, 191);
/* oklch */ color: oklch(63.6% 0.227 335.4);
Tailwind
colors: {
  custom: {
    50: '#e883d2',
    500: '#d842bf',
    950: '#000000',
  },
}
SCSS
$custom: #d842bf;
$custom-light: #e883d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d842bf",
  "rgb": {
    "r": 216,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 310,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63594,
    "c": 0.22685,
    "h": 335.4
  },
  "luminance": 0.22257
}

Semantic roles & 50–950 ramp

primary
#D842BF
secondary
#9CDAA6
accent
#E95B3F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D842BF

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

Preview Lab → · Contrast checker → · Palette generator →

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