#D342A1#D342A1

#D342A1 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.204 H 344.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D342A1
RGBrgb(211, 66, 161)
HSLhsl(321, 62%, 54%)
HSVhsv(321, 69%, 83%)
CMYKcmyk(0%, 68.7%, 23.7%, 17.3%)
CIE-LABlab(52.20, 65.26, -20.43)
CIE-LCHlch(52.20, 68.38, 342.62°)
OKLaboklab(61.49% 0.1969 -0.0544)
OKLCHoklch(61.49% 0.204 344.6)
XYZxyz(35.2465, 20.3221, 35.7776)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342A1 #42D374
analogous
#BD42D3 #D342A1 #D34258
triadic
#D342A1 #A1D342 #42A1D3
tetradic
#D342A1 #D3BD42 #42D374 #4258D3
square
#D342A1 #D3BD42 #42D374 #4258D3
split-complementary
#D342A1 #58D342 #42D3BD
monochromatic
#7D1D5C #AF2981 #D342A1 #DF74BA #EAA5D2

Accessibility & contrast

On white

4.15
#D342A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D342A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342A1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342A1#FFFFFF#000000##000000
##D342A11.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#7D859E
Tritanopia (blue-blind)
#E1416C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d342a1;
/* rgb */ color: rgb(211, 66, 161);
/* oklch */ color: oklch(61.5% 0.204 344.6);
Tailwind
colors: {
  custom: {
    50: '#e581bd',
    500: '#d342a1',
    950: '#000000',
  },
}
SCSS
$custom: #d342a1;
$custom-light: #e581bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d342a1",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 320.69,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.20424,
    "h": 344.6
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#D342A1
secondary
#9AD7AF
accent
#E57B42
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D342A1

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

Preview Lab → · Contrast checker → · Palette generator →

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