#D161BF#D161BF

#D161BF is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.0% C 0.180 H 333.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D161BF
RGBrgb(209, 97, 191)
HSLhsl(310, 55%, 60%)
HSVhsv(310, 54%, 82%)
CMYKcmyk(0%, 53.6%, 8.6%, 18%)
CIE-LABlab(57.91, 56.02, -29.06)
CIE-LCHlch(57.91, 63.11, 332.58°)
OKLaboklab(66.03% 0.1615 -0.079)
OKLCHoklch(66.03% 0.18 333.9)
XYZxyz(39.9732, 25.8691, 52.1679)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161BF #61D173
analogous
#AB61D1 #D161BF #D16187
triadic
#D161BF #BFD161 #61BFD1
tetradic
#D161BF #D1AB61 #61D173 #6187D1
square
#D161BF #D1AB61 #61D173 #6187D1
split-complementary
#D161BF #87D161 #61D1AB
monochromatic
#8E297E #BE37A8 #D161BF #DF90D2 #EDC0E5

Accessibility & contrast

On white

3.40
#D161BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D161BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161BF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161BF#FFFFFF#000000##000000
##D161BF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C2
Deuteranopia (green-blind)
#8191BC
Tritanopia (blue-blind)
#DA6887
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d161bf;
/* rgb */ color: rgb(209, 97, 191);
/* oklch */ color: oklch(66.0% 0.180 333.9);
Tailwind
colors: {
  custom: {
    50: '#e293d2',
    500: '#d161bf',
    950: '#000000',
  },
}
SCSS
$custom: #d161bf;
$custom-light: #e293d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d161bf",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 191
  },
  "hsl": {
    "h": 309.643,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.66027,
    "c": 0.17977,
    "h": 333.9
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#D161BF
secondary
#B1DCB8
accent
#DE614A
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D161BF

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

Preview Lab → · Contrast checker → · Palette generator →

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