#B21F91#B21F91

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

Color values

HEX#B21F91
RGBrgb(178, 31, 145)
HSLhsl(313, 70%, 41%)
HSVhsv(313, 83%, 70%)
CMYKcmyk(0%, 82.6%, 18.5%, 30.2%)
CIE-LABlab(41.99, 65.92, -27.10)
CIE-LCHlch(41.99, 71.27, 337.65°)
OKLaboklab(52.79% 0.1968 -0.0734)
OKLCHoklch(52.79% 0.21 339.5)
XYZxyz(23.9616, 12.4918, 27.9318)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F91 #1FB240
analogous
#891FB2 #B21F91 #B21F48
triadic
#B21F91 #91B21F #1F91B2
tetradic
#B21F91 #B2891F #1FB240 #1F48B2
square
#B21F91 #B2891F #1FB240 #1F48B2
split-complementary
#B21F91 #48B21F #1FB289
monochromatic
#4A0D3C #7E1667 #B21F91 #DB33B6 #E567C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B21F91#FFFFFF#000000##FFFFFF
##B21F911.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)
#2B5594
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#BD2658
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b21f91;
/* rgb */ color: rgb(178, 31, 145);
/* oklch */ color: oklch(52.8% 0.210 339.5);
Tailwind
colors: {
  custom: {
    50: '#cd6eb1',
    500: '#b21f91',
    950: '#000000',
  },
}
SCSS
$custom: #b21f91;
$custom-light: #cd6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f91",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 313.469,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.21002,
    "h": 339.5
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#B21F91
secondary
#63CA7A
accent
#ED633B
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140811
muted
#837B80

Preview Lab

Preview with #B21F91

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

Preview Lab → · Contrast checker → · Palette generator →

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