#D3228A#D3228A

#D3228A is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.2% C 0.223 H 351.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D3228A
RGBrgb(211, 34, 138)
HSLhsl(325, 72%, 48%)
HSVhsv(325, 84%, 83%)
CMYKcmyk(0%, 83.9%, 34.6%, 17.3%)
CIE-LABlab(48.05, 71.86, -13.02)
CIE-LCHlch(48.05, 73.03, 349.73°)
OKLaboklab(58.18% 0.2209 -0.0338)
OKLCHoklch(58.18% 0.223 351.3)
XYZxyz(32.0255, 16.8320, 25.6023)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3228A #22D36B
analogous
#C322D3 #D3228A #D32231
triadic
#D3228A #8AD322 #228AD3
tetradic
#D3228A #D3C322 #22D36B #2231D3
square
#D3228A #D3C322 #22D36B #2231D3
split-complementary
#D3228A #31D322 #22D3C3
monochromatic
#6A1145 #9E1A68 #D3228A #E34FA6 #EB84C1

Accessibility & contrast

On white

4.81
#D3228A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D3228A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3228A#FFFFFF#000000##FFFFFF
##D3228A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#7A7D86
Tritanopia (blue-blind)
#E30455
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d3228a;
/* rgb */ color: rgb(211, 34, 138);
/* oklch */ color: oklch(58.2% 0.223 351.3);
Tailwind
colors: {
  custom: {
    50: '#e674ac',
    500: '#d3228a',
    950: '#000000',
  },
}
SCSS
$custom: #d3228a;
$custom-light: #e674ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d3228a",
  "rgb": {
    "r": 211,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 324.746,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5818,
    "c": 0.22342,
    "h": 351.3
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#D3228A
secondary
#7DD4A1
accent
#EF8439
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D3228A

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

Preview Lab → · Contrast checker → · Palette generator →

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