#D334B8#D334B8

#D334B8 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.4% C 0.234 H 336.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D334B8
RGBrgb(211, 52, 184)
HSLhsl(310, 64%, 52%)
HSVhsv(310, 75%, 83%)
CMYKcmyk(0%, 75.4%, 12.8%, 17.3%)
CIE-LABlab(51.57, 72.97, -34.88)
CIE-LCHlch(51.57, 80.87, 334.45°)
OKLaboklab(61.36% 0.2141 -0.0951)
OKLCHoklch(61.36% 0.234 336)
XYZxyz(36.7443, 19.7689, 47.2187)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D334B8 #34D34F
analogous
#9F34D3 #D334B8 #D33469
triadic
#D334B8 #B8D334 #34B8D3
tetradic
#D334B8 #D39F34 #34D34F #3469D3
square
#D334B8 #D39F34 #34D34F #3469D3
split-complementary
#D334B8 #69D334 #34D39F
monochromatic
#741964 #A62490 #D334B8 #DE66CA #E999DB

Accessibility & contrast

On white

4.24
#D334B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D334B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D334B8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D334B8#FFFFFF#000000##000000
##D334B81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#366CBC
Deuteranopia (green-blind)
#6F83B4
Tritanopia (blue-blind)
#DE4073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d334b8;
/* rgb */ color: rgb(211, 52, 184);
/* oklch */ color: oklch(61.4% 0.234 336.0);
Tailwind
colors: {
  custom: {
    50: '#e57ccd',
    500: '#d334b8',
    950: '#000000',
  },
}
SCSS
$custom: #d334b8;
$custom-light: #e57ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#d334b8",
  "rgb": {
    "r": 211,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 310.189,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.23429,
    "h": 336
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#D334B8
secondary
#8ED49A
accent
#E75D40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D334B8

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

Preview Lab → · Contrast checker → · Palette generator →

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