#D22FBA#D22FBA

#D22FBA is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.0% C 0.240 H 335.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D22FBA
RGBrgb(210, 47, 186)
HSLhsl(309, 64%, 50%)
HSVhsv(309, 78%, 82%)
CMYKcmyk(0%, 77.6%, 11.4%, 17.6%)
CIE-LABlab(51.02, 74.43, -36.93)
CIE-LCHlch(51.02, 83.08, 333.61°)
OKLaboklab(60.96% 0.2174 -0.101)
OKLCHoklch(60.96% 0.24 335.1)
XYZxyz(36.4583, 19.2832, 48.2468)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FBA #2FD247
analogous
#982FD2 #D22FBA #D22F69
triadic
#D22FBA #BAD22F #2FBAD2
tetradic
#D22FBA #D2982F #2FD247 #2F69D2
square
#D22FBA #D2982F #2FD247 #2F69D2
split-complementary
#D22FBA #69D22F #2FD298
monochromatic
#6F1862 #A1238E #D22FBA #DD61CB #E894DB

Accessibility & contrast

On white

4.32
#D22FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D22FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FBA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FBA#FFFFFF#000000##000000
##D22FBA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABE
Deuteranopia (green-blind)
#6C82B6
Tritanopia (blue-blind)
#DC3E73
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22fba;
/* rgb */ color: rgb(210, 47, 186);
/* oklch */ color: oklch(61.0% 0.240 335.1);
Tailwind
colors: {
  custom: {
    50: '#e47acf',
    500: '#d22fba',
    950: '#000000',
  },
}
SCSS
$custom: #d22fba;
$custom-light: #e47acf;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fba",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 308.834,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60962,
    "c": 0.23976,
    "h": 335.1
  },
  "luminance": 0.1928
}

Semantic roles & 50–950 ramp

primary
#D22FBA
secondary
#8AD395
accent
#E75940
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D22FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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