#D03162#D03162

#D03162 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.196 H 8.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D03162
RGBrgb(208, 49, 98)
HSLhsl(342, 63%, 50%)
HSVhsv(342, 76%, 82%)
CMYKcmyk(0%, 76.4%, 52.9%, 18.4%)
CIE-LABlab(47.61, 63.63, 10.71)
CIE-LCHlch(47.61, 64.53, 9.56°)
OKLaboklab(57.36% 0.1938 0.0275)
OKLCHoklch(57.36% 0.196 8.1)
XYZxyz(29.3181, 16.4925, 13.1925)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03162 #31D09F
analogous
#D031B2 #D03162 #D04F31
triadic
#D03162 #62D031 #3162D0
tetradic
#D03162 #B2D031 #31D09F #4F31D0
square
#D03162 #B2D031 #31D09F #4F31D0
split-complementary
#D03162 #31D04F #31B2D0
monochromatic
#6E1933 #9F244A #D03162 #DB6388 #E795AE

Accessibility & contrast

On white

4.89
#D03162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#D03162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D03162
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03162#FFFFFF#000000##FFFFFF
##D031621.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5D63
Deuteranopia (green-blind)
#847C5E
Tritanopia (blue-blind)
#E30046
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d03162;
/* rgb */ color: rgb(208, 49, 98);
/* oklch */ color: oklch(57.4% 0.196 8.1);
Tailwind
colors: {
  custom: {
    50: '#e5788e',
    500: '#d03162',
    950: '#000000',
  },
}
SCSS
$custom: #d03162;
$custom-light: #e5788e;
$custom-dark: #000000;
JSON
{
  "hex": "#d03162",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 341.509,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.19569,
    "h": 8.1
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#D03162
secondary
#8BD2BC
accent
#E6B342
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D03162

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

Preview Lab → · Contrast checker → · Palette generator →

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