#D342AB#D342AB

#D342AB is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.9% C 0.210 H 340.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D342AB
RGBrgb(211, 66, 171)
HSLhsl(317, 62%, 54%)
HSVhsv(317, 69%, 83%)
CMYKcmyk(0%, 68.7%, 19%, 17.3%)
CIE-LABlab(52.61, 66.59, -25.67)
CIE-LCHlch(52.61, 71.37, 338.92°)
OKLaboklab(61.92% 0.1987 -0.0691)
OKLCHoklch(61.92% 0.21 340.8)
XYZxyz(36.1639, 20.6891, 40.6090)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342AB #42D36A
analogous
#B342D3 #D342AB #D34263
triadic
#D342AB #ABD342 #42ABD3
tetradic
#D342AB #D3B342 #42D36A #4263D3
square
#D342AB #D3B342 #42D36A #4263D3
split-complementary
#D342AB #63D342 #42D3B3
monochromatic
#7D1D63 #AF298A #D342AB #DF74C1 #EAA5D7

Accessibility & contrast

On white

4.09
#D342AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D342AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342AB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342AB#FFFFFF#000000##000000
##D342AB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAE
Deuteranopia (green-blind)
#7A86A8
Tritanopia (blue-blind)
#DF4571
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d342ab;
/* rgb */ color: rgb(211, 66, 171);
/* oklch */ color: oklch(61.9% 0.210 340.8);
Tailwind
colors: {
  custom: {
    50: '#e482c4',
    500: '#d342ab',
    950: '#000000',
  },
}
SCSS
$custom: #d342ab;
$custom-light: #e482c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d342ab",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 316.552,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.2104,
    "h": 340.8
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#D342AB
secondary
#9AD7AB
accent
#E56F42
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D342AB

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

Preview Lab → · Contrast checker → · Palette generator →

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