#D3229E#D3229E

#D3229E is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 59.0% C 0.234 H 344.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D3229E
RGBrgb(211, 34, 158)
HSLhsl(318, 72%, 48%)
HSVhsv(318, 84%, 83%)
CMYKcmyk(0%, 83.9%, 25.1%, 17.3%)
CIE-LABlab(48.84, 74.08, -23.81)
CIE-LCHlch(48.84, 77.82, 342.18°)
OKLaboklab(59.01% 0.2247 -0.0636)
OKLCHoklch(59.01% 0.234 344.2)
XYZxyz(33.6091, 17.4654, 33.9424)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3229E #22D357
analogous
#AF22D3 #D3229E #D32245
triadic
#D3229E #9ED322 #229ED3
tetradic
#D3229E #D3AF22 #22D357 #2245D3
square
#D3229E #D3AF22 #22D357 #2245D3
split-complementary
#D3229E #45D322 #22D3AF
monochromatic
#6A114F #9E1A77 #D3229E #E34FB7 #EB84CC

Accessibility & contrast

On white

4.67
#D3229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#D3229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D3229E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3229E#FFFFFF#000000##FFFFFF
##D3229E1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A1
Deuteranopia (green-blind)
#747E9A
Tritanopia (blue-blind)
#E12060
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d3229e;
/* rgb */ color: rgb(211, 34, 158);
/* oklch */ color: oklch(59.0% 0.234 344.2);
Tailwind
colors: {
  custom: {
    50: '#e675bb',
    500: '#d3229e',
    950: '#000000',
  },
}
SCSS
$custom: #d3229e;
$custom-light: #e675bb;
$custom-dark: #000000;
JSON
{
  "hex": "#d3229e",
  "rgb": {
    "r": 211,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 317.966,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59012,
    "c": 0.23358,
    "h": 344.2
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#D3229E
secondary
#7DD497
accent
#EF6F39
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#170A11
muted
#857C80

Preview Lab

Preview with #D3229E

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

Preview Lab → · Contrast checker → · Palette generator →

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