#D22CBA#D22CBA

#D22CBA is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.8% C 0.242 H 335.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D22CBA
RGBrgb(210, 44, 186)
HSLhsl(309, 65%, 50%)
HSVhsv(309, 79%, 82%)
CMYKcmyk(0%, 79%, 11.4%, 17.6%)
CIE-LABlab(50.75, 75.20, -37.35)
CIE-LCHlch(50.75, 83.97, 333.59°)
OKLaboklab(60.77% 0.2197 -0.1022)
OKLCHoklch(60.77% 0.242 335.1)
XYZxyz(36.3425, 19.0515, 48.2082)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22CBA #2CD244
analogous
#972CD2 #D22CBA #D22C67
triadic
#D22CBA #BAD22C #2CBAD2
tetradic
#D22CBA #D2972C #2CD244 #2C67D2
square
#D22CBA #D2972C #2CD244 #2C67D2
split-complementary
#D22CBA #67D22C #2CD297
monochromatic
#6D1760 #9F218D #D22CBA #DD5ECB #E891DB

Accessibility & contrast

On white

4.37
#D22CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D22CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22CBA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22CBA#FFFFFF#000000##000000
##D22CBA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BE
Deuteranopia (green-blind)
#6B81B6
Tritanopia (blue-blind)
#DD3C72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22cba;
/* rgb */ color: rgb(210, 44, 186);
/* oklch */ color: oklch(60.8% 0.242 335.1);
Tailwind
colors: {
  custom: {
    50: '#e479cf',
    500: '#d22cba',
    950: '#000000',
  },
}
SCSS
$custom: #d22cba;
$custom-light: #e479cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d22cba",
  "rgb": {
    "r": 210,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 308.675,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.24236,
    "h": 335.1
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#D22CBA
secondary
#87D292
accent
#E8583F
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D22CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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