#D2226C#D2226C

#D2226C is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.212 H 2.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D2226C
RGBrgb(210, 34, 108)
HSLhsl(335, 72%, 48%)
HSVhsv(335, 84%, 82%)
CMYKcmyk(0%, 83.8%, 48.6%, 17.6%)
CIE-LABlab(46.89, 68.84, 3.58)
CIE-LCHlch(46.89, 68.93, 2.97°)
OKLaboklab(56.98% 0.2114 0.0099)
OKLCHoklch(56.98% 0.212 2.7)
XYZxyz(29.8598, 15.9326, 15.6874)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2226C #22D288
analogous
#D222C4 #D2226C #D23022
triadic
#D2226C #6CD222 #226CD2
tetradic
#D2226C #C4D222 #22D288 #3022D2
square
#D2226C #C4D222 #22D288 #3022D2
split-complementary
#D2226C #22D230 #22C4D2
monochromatic
#691136 #9D1951 #D2226C #E24F8D #EB83AF

Accessibility & contrast

On white

5.02
#D2226C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#D2226C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D2226C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2226C#FFFFFF#000000##FFFFFF
##D2226C1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6E
Deuteranopia (green-blind)
#807B68
Tritanopia (blue-blind)
#E50045
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d2226c;
/* rgb */ color: rgb(210, 34, 108);
/* oklch */ color: oklch(57.0% 0.212 2.7);
Tailwind
colors: {
  custom: {
    50: '#e67395',
    500: '#d2226c',
    950: '#000000',
  },
}
SCSS
$custom: #d2226c;
$custom-light: #e67395;
$custom-dark: #000000;
JSON
{
  "hex": "#d2226c",
  "rgb": {
    "r": 210,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 334.773,
    "s": 72.131,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.21163,
    "h": 2.7
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#D2226C
secondary
#7CD4AF
accent
#EFA239
background
#FFF7F9
surface
#FEEEF1
border
#D6C9CB
text
#17090D
muted
#857B7E

Preview Lab

Preview with #D2226C

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

Preview Lab → · Contrast checker → · Palette generator →

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