#D160C2#D160C2

#D160C2 is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.0% C 0.184 H 332.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#D160C2
RGBrgb(209, 96, 194)
HSLhsl(308, 55%, 60%)
HSVhsv(308, 54%, 82%)
CMYKcmyk(0%, 54.1%, 7.2%, 18%)
CIE-LABlab(57.86, 56.98, -30.85)
CIE-LCHlch(57.86, 64.80, 331.57°)
OKLaboklab(66.03% 0.1634 -0.084)
OKLCHoklch(66.03% 0.184 332.8)
XYZxyz(40.2149, 25.8188, 53.8939)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D160C2 #60D16F
analogous
#A860D1 #D160C2 #D16089
triadic
#D160C2 #C2D160 #60C2D1
tetradic
#D160C2 #D1A860 #60D16F #6089D1
square
#D160C2 #D1A860 #60D16F #6089D1
split-complementary
#D160C2 #89D160 #60D1A8
monochromatic
#8E2980 #BD37AB #D160C2 #DF8FD4 #ECBFE6

Accessibility & contrast

On white

3.41
#D160C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#D160C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D160C2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D160C2#FFFFFF#000000##000000
##D160C21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#7F91BF
Tritanopia (blue-blind)
#D96888
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d160c2;
/* rgb */ color: rgb(209, 96, 194);
/* oklch */ color: oklch(66.0% 0.184 332.8);
Tailwind
colors: {
  custom: {
    50: '#e292d4',
    500: '#d160c2',
    950: '#000000',
  },
}
SCSS
$custom: #d160c2;
$custom-light: #e292d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d160c2",
  "rgb": {
    "r": 209,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 307.965,
    "s": 55.122,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.18374,
    "h": 332.8
  },
  "luminance": 0.25816
}

Semantic roles & 50–950 ramp

primary
#D160C2
secondary
#B1DCB6
accent
#DE5D49
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D160C2

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

Preview Lab → · Contrast checker → · Palette generator →

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