#D342B1#D342B1

#D342B1 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.2% C 0.214 H 338.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D342B1
RGBrgb(211, 66, 177)
HSLhsl(314, 62%, 54%)
HSVhsv(314, 69%, 83%)
CMYKcmyk(0%, 68.7%, 16.1%, 17.3%)
CIE-LABlab(52.87, 67.42, -28.78)
CIE-LCHlch(52.87, 73.31, 336.88°)
OKLaboklab(62.19% 0.1997 -0.0779)
OKLCHoklch(62.19% 0.214 338.7)
XYZxyz(36.7488, 20.9230, 43.6896)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D342B1 #42D364
analogous
#AD42D3 #D342B1 #D34269
triadic
#D342B1 #B1D342 #42B1D3
tetradic
#D342B1 #D3AD42 #42D364 #4269D3
square
#D342B1 #D3AD42 #42D364 #4269D3
split-complementary
#D342B1 #69D342 #42D3AD
monochromatic
#7D1D67 #AF2990 #D342B1 #DF74C5 #EAA5DA

Accessibility & contrast

On white

4.05
#D342B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D342B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D342B1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D342B1#FFFFFF#000000##000000
##D342B11.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B4
Deuteranopia (green-blind)
#7786AE
Tritanopia (blue-blind)
#DF4874
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d342b1;
/* rgb */ color: rgb(211, 66, 177);
/* oklch */ color: oklch(62.2% 0.214 338.7);
Tailwind
colors: {
  custom: {
    50: '#e482c8',
    500: '#d342b1',
    950: '#000000',
  },
}
SCSS
$custom: #d342b1;
$custom-light: #e482c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d342b1",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 314.069,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.21432,
    "h": 338.7
  },
  "luminance": 0.2092
}

Semantic roles & 50–950 ramp

primary
#D342B1
secondary
#9AD7A8
accent
#E56942
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D342B1

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

Preview Lab → · Contrast checker → · Palette generator →

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