#D3228D#D3228D

#D3228D is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.3% C 0.225 H 350.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D3228D
RGBrgb(211, 34, 141)
HSLhsl(324, 72%, 48%)
HSVhsv(324, 84%, 83%)
CMYKcmyk(0%, 83.9%, 33.2%, 17.3%)
CIE-LABlab(48.16, 72.18, -14.66)
CIE-LCHlch(48.16, 73.65, 348.52°)
OKLaboklab(58.3% 0.2215 -0.0382)
OKLCHoklch(58.3% 0.225 350.2)
XYZxyz(32.2457, 16.9200, 26.7620)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3228D #22D368
analogous
#C022D3 #D3228D #D32234
triadic
#D3228D #8DD322 #228DD3
tetradic
#D3228D #D3C022 #22D368 #2234D3
square
#D3228D #D3C022 #22D368 #2234D3
split-complementary
#D3228D #34D322 #22D3C0
monochromatic
#6A1147 #9E1A6A #D3228D #E34FA8 #EB84C2

Accessibility & contrast

On white

4.79
#D3228D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#D3228D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D3228D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3228D#FFFFFF#000000##FFFFFF
##D3228D1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#797D89
Tritanopia (blue-blind)
#E30A57
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d3228d;
/* rgb */ color: rgb(211, 34, 141);
/* oklch */ color: oklch(58.3% 0.225 350.2);
Tailwind
colors: {
  custom: {
    50: '#e674ae',
    500: '#d3228d',
    950: '#000000',
  },
}
SCSS
$custom: #d3228d;
$custom-light: #e674ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d3228d",
  "rgb": {
    "r": 211,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 323.729,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.22482,
    "h": 350.2
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#D3228D
secondary
#7DD49F
accent
#EF8139
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D3228D

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

Preview Lab → · Contrast checker → · Palette generator →

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