#D3228B#D3228B

#D3228B is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.2% C 0.224 H 350.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D3228B
RGBrgb(211, 34, 139)
HSLhsl(324, 72%, 48%)
HSVhsv(324, 84%, 83%)
CMYKcmyk(0%, 83.9%, 34.1%, 17.3%)
CIE-LABlab(48.08, 71.97, -13.57)
CIE-LCHlch(48.08, 73.23, 349.32°)
OKLaboklab(58.22% 0.2211 -0.0352)
OKLCHoklch(58.22% 0.224 350.9)
XYZxyz(32.0982, 16.8610, 25.9853)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3228B #22D36A
analogous
#C222D3 #D3228B #D32232
triadic
#D3228B #8BD322 #228BD3
tetradic
#D3228B #D3C222 #22D36A #2232D3
square
#D3228B #D3C222 #22D36A #2232D3
split-complementary
#D3228B #32D322 #22D3C2
monochromatic
#6A1146 #9E1A68 #D3228B #E34FA7 #EB84C1

Accessibility & contrast

On white

4.80
#D3228B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#D3228B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D3228B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3228B#FFFFFF#000000##FFFFFF
##D3228B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8D
Deuteranopia (green-blind)
#7A7D87
Tritanopia (blue-blind)
#E30656
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d3228b;
/* rgb */ color: rgb(211, 34, 139);
/* oklch */ color: oklch(58.2% 0.224 350.9);
Tailwind
colors: {
  custom: {
    50: '#e674ad',
    500: '#d3228b',
    950: '#000000',
  },
}
SCSS
$custom: #d3228b;
$custom-light: #e674ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d3228b",
  "rgb": {
    "r": 211,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 324.407,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.22388,
    "h": 350.9
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#D3228B
secondary
#7DD4A0
accent
#EF8339
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D3228B

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

Preview Lab → · Contrast checker → · Palette generator →

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