#D3228C#D3228C

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

Color values

HEX#D3228C
RGBrgb(211, 34, 140)
HSLhsl(324, 72%, 48%)
HSVhsv(324, 84%, 83%)
CMYKcmyk(0%, 83.9%, 33.6%, 17.3%)
CIE-LABlab(48.12, 72.07, -14.11)
CIE-LCHlch(48.12, 73.44, 348.92°)
OKLaboklab(58.26% 0.2213 -0.0367)
OKLCHoklch(58.26% 0.224 350.6)
XYZxyz(32.1716, 16.8904, 26.3719)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3228C #22D369
analogous
#C122D3 #D3228C #D32233
triadic
#D3228C #8CD322 #228CD3
tetradic
#D3228C #D3C122 #22D369 #2233D3
square
#D3228C #D3C122 #22D369 #2233D3
split-complementary
#D3228C #33D322 #22D3C1
monochromatic
#6A1146 #9E1A69 #D3228C #E34FA8 #EB84C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3228C#FFFFFF#000000##FFFFFF
##D3228C1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#7A7D88
Tritanopia (blue-blind)
#E30856
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d3228c;
/* rgb */ color: rgb(211, 34, 140);
/* oklch */ color: oklch(58.3% 0.224 350.6);
Tailwind
colors: {
  custom: {
    50: '#e674ad',
    500: '#d3228c',
    950: '#000000',
  },
}
SCSS
$custom: #d3228c;
$custom-light: #e674ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d3228c",
  "rgb": {
    "r": 211,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 324.068,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58258,
    "c": 0.22435,
    "h": 350.6
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3228C

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

Preview Lab → · Contrast checker → · Palette generator →

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