#B21E91#B21E91

#B21E91 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.7% C 0.211 H 339.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B21E91
RGBrgb(178, 30, 145)
HSLhsl(313, 71%, 41%)
HSVhsv(313, 83%, 70%)
CMYKcmyk(0%, 83.1%, 18.5%, 30.2%)
CIE-LABlab(41.91, 66.15, -27.23)
CIE-LCHlch(41.91, 71.53, 337.63°)
OKLaboklab(52.73% 0.1975 -0.0737)
OKLCHoklch(52.73% 0.211 339.5)
XYZxyz(23.9359, 12.4403, 27.9232)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21E91 #1EB23F
analogous
#891EB2 #B21E91 #B21E47
triadic
#B21E91 #91B21E #1E91B2
tetradic
#B21E91 #B2891E #1EB23F #1E47B2
square
#B21E91 #B2891E #1EB23F #1E47B2
split-complementary
#B21E91 #47B21E #1EB289
monochromatic
#490C3C #7E1566 #B21E91 #DC31B6 #E565C9

Accessibility & contrast

On white

6.02
#B21E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B21E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21E91
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21E91#FFFFFF#000000##FFFFFF
##B21E911.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#BD2658
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b21e91;
/* rgb */ color: rgb(178, 30, 145);
/* oklch */ color: oklch(52.7% 0.211 339.5);
Tailwind
colors: {
  custom: {
    50: '#cd6eb1',
    500: '#b21e91',
    950: '#000000',
  },
}
SCSS
$custom: #b21e91;
$custom-light: #cd6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b21e91",
  "rgb": {
    "r": 178,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 313.378,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52733,
    "c": 0.2108,
    "h": 339.5
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#B21E91
secondary
#62CA79
accent
#EE623A
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140811
muted
#837B80

Preview Lab

Preview with #B21E91

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

Preview Lab → · Contrast checker → · Palette generator →

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