#B21E93#B21E93

#B21E93 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.8% C 0.212 H 338.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B21E93
RGBrgb(178, 30, 147)
HSLhsl(313, 71%, 41%)
HSVhsv(313, 83%, 70%)
CMYKcmyk(0%, 83.1%, 17.4%, 30.2%)
CIE-LABlab(42.00, 66.41, -28.29)
CIE-LCHlch(42.00, 72.19, 336.93°)
OKLaboklab(52.83% 0.1977 -0.0768)
OKLCHoklch(52.83% 0.212 338.8)
XYZxyz(24.0915, 12.5026, 28.7426)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21E93 #1EB23D
analogous
#871EB2 #B21E93 #B21E49
triadic
#B21E93 #93B21E #1E93B2
tetradic
#B21E93 #B2871E #1EB23D #1E49B2
square
#B21E93 #B2871E #1EB23D #1E49B2
split-complementary
#B21E93 #49B21E #1EB287
monochromatic
#490C3C #7E1568 #B21E93 #DC31B8 #E565CA

Accessibility & contrast

On white

6.00
#B21E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B21E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21E93
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21E93#FFFFFF#000000##FFFFFF
##B21E931.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285596
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#BC2759
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b21e93;
/* rgb */ color: rgb(178, 30, 147);
/* oklch */ color: oklch(52.8% 0.212 338.8);
Tailwind
colors: {
  custom: {
    50: '#cd6eb3',
    500: '#b21e93',
    950: '#000000',
  },
}
SCSS
$custom: #b21e93;
$custom-light: #cd6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b21e93",
  "rgb": {
    "r": 178,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 312.568,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.21206,
    "h": 338.8
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#B21E93
secondary
#62CA77
accent
#EE603A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B21E93

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

Preview Lab → · Contrast checker → · Palette generator →

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