#D3228F#D3228F

#D3228F is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.4% C 0.226 H 349.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D3228F
RGBrgb(211, 34, 143)
HSLhsl(323, 72%, 48%)
HSVhsv(323, 84%, 83%)
CMYKcmyk(0%, 83.9%, 32.2%, 17.3%)
CIE-LABlab(48.23, 72.39, -15.75)
CIE-LCHlch(48.23, 74.08, 347.72°)
OKLaboklab(58.38% 0.222 -0.0412)
OKLCHoklch(58.38% 0.226 349.5)
XYZxyz(32.3958, 16.9801, 27.5528)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3228F #22D366
analogous
#BE22D3 #D3228F #D32236
triadic
#D3228F #8FD322 #228FD3
tetradic
#D3228F #D3BE22 #22D366 #2236D3
square
#D3228F #D3BE22 #22D366 #2236D3
split-complementary
#D3228F #36D322 #22D3BE
monochromatic
#6A1148 #9E1A6B #D3228F #E34FAA #EB84C4

Accessibility & contrast

On white

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

On black

4.40
#D3228F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D3228F#FFFFFF#000000##FFFFFF
##D3228F1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F92
Deuteranopia (green-blind)
#797D8B
Tritanopia (blue-blind)
#E30E58
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d3228f;
/* rgb */ color: rgb(211, 34, 143);
/* oklch */ color: oklch(58.4% 0.226 349.5);
Tailwind
colors: {
  custom: {
    50: '#e674af',
    500: '#d3228f',
    950: '#000000',
  },
}
SCSS
$custom: #d3228f;
$custom-light: #e674af;
$custom-dark: #000000;
JSON
{
  "hex": "#d3228f",
  "rgb": {
    "r": 211,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 323.051,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.22578,
    "h": 349.5
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#D3228F
secondary
#7DD49E
accent
#EF7F39
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D3228F

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

Preview Lab → · Contrast checker → · Palette generator →

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