#D340B4#D340B4

#D340B4 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.1% C 0.219 H 337.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D340B4
RGBrgb(211, 64, 180)
HSLhsl(313, 63%, 54%)
HSVhsv(313, 70%, 83%)
CMYKcmyk(0%, 69.7%, 14.7%, 17.3%)
CIE-LABlab(52.75, 68.56, -30.72)
CIE-LCHlch(52.75, 75.12, 335.87°)
OKLaboklab(62.15% 0.2022 -0.0834)
OKLCHoklch(62.15% 0.219 337.6)
XYZxyz(36.9363, 20.8143, 45.2434)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340B4 #40D35F
analogous
#A940D3 #D340B4 #D3406B
triadic
#D340B4 #B4D340 #40B4D3
tetradic
#D340B4 #D3A940 #40D35F #406BD3
square
#D340B4 #D3A940 #40D35F #406BD3
split-complementary
#D340B4 #6BD340 #40D3A9
monochromatic
#7C1D68 #AE2892 #D340B4 #DE72C8 #EAA3DB

Accessibility & contrast

On white

4.07
#D340B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D340B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340B4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340B4#FFFFFF#000000##000000
##D340B41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#456FB7
Deuteranopia (green-blind)
#7586B0
Tritanopia (blue-blind)
#DE4875
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d340b4;
/* rgb */ color: rgb(211, 64, 180);
/* oklch */ color: oklch(62.1% 0.219 337.6);
Tailwind
colors: {
  custom: {
    50: '#e481ca',
    500: '#d340b4',
    950: '#000000',
  },
}
SCSS
$custom: #d340b4;
$custom-light: #e481ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d340b4",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 312.653,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62148,
    "c": 0.21871,
    "h": 337.6
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#D340B4
secondary
#98D7A5
accent
#E66542
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D340B4

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

Preview Lab → · Contrast checker → · Palette generator →

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