#D162AF#D162AF

#D162AF is a light, vivid pink. Relative luminance 0.254; OKLCH L 65.5% C 0.166 H 340.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#D162AF
RGBrgb(209, 98, 175)
HSLhsl(318, 55%, 60%)
HSVhsv(318, 53%, 82%)
CMYKcmyk(0%, 53.1%, 16.3%, 18%)
CIE-LABlab(57.45, 53.03, -20.58)
CIE-LCHlch(57.45, 56.88, 338.79°)
OKLaboklab(65.48% 0.1567 -0.0551)
OKLCHoklch(65.48% 0.166 340.6)
XYZxyz(38.4007, 25.3888, 43.4272)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162AF #62D184
analogous
#BB62D1 #D162AF #D16278
triadic
#D162AF #AFD162 #62AFD1
tetradic
#D162AF #D1BB62 #62D184 #6278D1
square
#D162AF #D1BB62 #62D184 #6278D1
split-complementary
#D162AF #78D162 #62D1BB
monochromatic
#8F2A70 #BE3895 #D162AF #DF91C7 #EDC1DF

Accessibility & contrast

On white

3.46
#D162AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#D162AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162AF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162AF#FFFFFF#000000##000000
##D162AF1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB2
Deuteranopia (green-blind)
#8791AC
Tritanopia (blue-blind)
#DC6481
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d162af;
/* rgb */ color: rgb(209, 98, 175);
/* oklch */ color: oklch(65.5% 0.166 340.6);
Tailwind
colors: {
  custom: {
    50: '#e293c7',
    500: '#d162af',
    950: '#000000',
  },
}
SCSS
$custom: #d162af;
$custom-light: #e293c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d162af",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 318.378,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65477,
    "c": 0.16612,
    "h": 340.6
  },
  "luminance": 0.25386
}

Semantic roles & 50–950 ramp

primary
#D162AF
secondary
#B2DDBF
accent
#C25423
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D162AF

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

Preview Lab → · Contrast checker → · Palette generator →

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