#D3228E#D3228E

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

Color values

HEX#D3228E
RGBrgb(211, 34, 142)
HSLhsl(323, 72%, 48%)
HSVhsv(323, 84%, 83%)
CMYKcmyk(0%, 83.9%, 32.7%, 17.3%)
CIE-LABlab(48.20, 72.28, -15.21)
CIE-LCHlch(48.20, 73.86, 348.12°)
OKLaboklab(58.34% 0.2218 -0.0397)
OKLCHoklch(58.34% 0.225 349.8)
XYZxyz(32.3204, 16.9499, 27.1556)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3228E #22D367
analogous
#BF22D3 #D3228E #D32235
triadic
#D3228E #8ED322 #228ED3
tetradic
#D3228E #D3BF22 #22D367 #2235D3
square
#D3228E #D3BF22 #22D367 #2235D3
split-complementary
#D3228E #35D322 #22D3BF
monochromatic
#6A1147 #9E1A6B #D3228E #E34FA9 #EB84C3

Accessibility & contrast

On white

4.78
#D3228E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#D3228E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D3228E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3228E#FFFFFF#000000##FFFFFF
##D3228E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#797D8A
Tritanopia (blue-blind)
#E30C57
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d3228e;
/* rgb */ color: rgb(211, 34, 142);
/* oklch */ color: oklch(58.3% 0.225 349.8);
Tailwind
colors: {
  custom: {
    50: '#e674af',
    500: '#d3228e',
    950: '#000000',
  },
}
SCSS
$custom: #d3228e;
$custom-light: #e674af;
$custom-dark: #000000;
JSON
{
  "hex": "#d3228e",
  "rgb": {
    "r": 211,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 323.39,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.22529,
    "h": 349.8
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3228E

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

Preview Lab → · Contrast checker → · Palette generator →

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