#D342B5#D342B5

#D342B5 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.4% C 0.217 H 337.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D342B5
RGBrgb(211, 66, 181)
HSLhsl(312, 62%, 54%)
HSVhsv(312, 69%, 83%)
CMYKcmyk(0%, 68.7%, 14.2%, 17.3%)
CIE-LABlab(53.04, 67.99, -30.84)
CIE-LCHlch(53.04, 74.66, 335.60°)
OKLaboklab(62.38% 0.2002 -0.0837)
OKLCHoklch(62.38% 0.217 337.3)
XYZxyz(37.1533, 21.0848, 45.8201)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342B5 #42D360
analogous
#A942D3 #D342B5 #D3426D
triadic
#D342B5 #B5D342 #42B5D3
tetradic
#D342B5 #D3A942 #42D360 #426DD3
square
#D342B5 #D3A942 #42D360 #426DD3
split-complementary
#D342B5 #6DD342 #42D3A9
monochromatic
#7D1D6A #AF2993 #D342B5 #DF74C8 #EAA5DC

Accessibility & contrast

On white

4.03
#D342B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D342B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342B5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342B5#FFFFFF#000000##000000
##D342B51.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#7687B1
Tritanopia (blue-blind)
#DE4A76
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d342b5;
/* rgb */ color: rgb(211, 66, 181);
/* oklch */ color: oklch(62.4% 0.217 337.3);
Tailwind
colors: {
  custom: {
    50: '#e482cb',
    500: '#d342b5',
    950: '#000000',
  },
}
SCSS
$custom: #d342b5;
$custom-light: #e482cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d342b5",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 312.414,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62378,
    "c": 0.21702,
    "h": 337.3
  },
  "luminance": 0.21082
}

Semantic roles & 50–950 ramp

primary
#D342B5
secondary
#9AD7A6
accent
#E56442
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D342B5

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

Preview Lab → · Contrast checker → · Palette generator →

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