#D168BC#D168BC

#D168BC is a light, vivid pink. Relative luminance 0.271; OKLCH L 66.8% C 0.166 H 335.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D168BC
RGBrgb(209, 104, 188)
HSLhsl(312, 53%, 61%)
HSVhsv(312, 50%, 82%)
CMYKcmyk(0%, 50.2%, 10%, 18%)
CIE-LABlab(59.06, 52.18, -25.58)
CIE-LCHlch(59.06, 58.11, 333.88°)
OKLaboklab(66.83% 0.1511 -0.0692)
OKLCHoklch(66.83% 0.166 335.4)
XYZxyz(40.3220, 27.0895, 50.6722)
Luminance0.2709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168BC #68D17D
analogous
#B268D1 #D168BC #D16888
triadic
#D168BC #BCD168 #68BCD1
tetradic
#D168BC #D1B268 #68D17D #6888D1
square
#D168BC #D1B268 #68D17D #6888D1
split-complementary
#D168BC #88D168 #68D1B2
monochromatic
#922D7E #C13BA6 #D168BC #DF97D1 #EEC6E6

Accessibility & contrast

On white

3.27
#D168BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D168BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168BC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168BC#FFFFFF#000000##000000
##D168BC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#8694B9
Tritanopia (blue-blind)
#DA6D89
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d168bc;
/* rgb */ color: rgb(209, 104, 188);
/* oklch */ color: oklch(66.8% 0.166 335.4);
Tailwind
colors: {
  custom: {
    50: '#e197d0',
    500: '#d168bc',
    950: '#000000',
  },
}
SCSS
$custom: #d168bc;
$custom-light: #e197d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d168bc",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 312,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66835,
    "c": 0.16621,
    "h": 335.4
  },
  "luminance": 0.27087
}

Semantic roles & 50–950 ramp

primary
#D168BC
secondary
#B7DEBF
accent
#C14425
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D168BC

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

Preview Lab → · Contrast checker → · Palette generator →

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