#D330A6#D330A6

#D330A6 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.2% C 0.227 H 341.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#D330A6
RGBrgb(211, 48, 166)
HSLhsl(317, 65%, 51%)
HSVhsv(317, 77%, 83%)
CMYKcmyk(0%, 77.3%, 21.3%, 17.3%)
CIE-LABlab(50.36, 71.69, -26.22)
CIE-LCHlch(50.36, 76.33, 339.91°)
OKLaboklab(60.22% 0.2155 -0.0705)
OKLCHoklch(60.22% 0.227 341.9)
XYZxyz(34.8051, 18.7196, 37.8493)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D330A6 #30D35D
analogous
#AE30D3 #D330A6 #D33055
triadic
#D330A6 #A6D330 #30A6D3
tetradic
#D330A6 #D3AE30 #30D35D #3055D3
square
#D330A6 #D3AE30 #30D35D #3055D3
split-complementary
#D330A6 #55D330 #30D3AE
monochromatic
#711858 #A32380 #D330A6 #DE62BC #E895D1

Accessibility & contrast

On white

4.43
#D330A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#D330A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D330A6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D330A6#FFFFFF#000000##000000
##D330A61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4167A9
Deuteranopia (green-blind)
#7581A2
Tritanopia (blue-blind)
#E03368
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d330a6;
/* rgb */ color: rgb(211, 48, 166);
/* oklch */ color: oklch(60.2% 0.227 341.9);
Tailwind
colors: {
  custom: {
    50: '#e57ac0',
    500: '#d330a6',
    950: '#000000',
  },
}
SCSS
$custom: #d330a6;
$custom-light: #e57ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#d330a6",
  "rgb": {
    "r": 211,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 316.564,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60218,
    "c": 0.22675,
    "h": 341.9
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#D330A6
secondary
#8BD49F
accent
#E86E40
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D330A6

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

Preview Lab → · Contrast checker → · Palette generator →

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