#B21F92#B21F92

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

Color values

HEX#B21F92
RGBrgb(178, 31, 146)
HSLhsl(313, 70%, 41%)
HSVhsv(313, 83%, 70%)
CMYKcmyk(0%, 82.6%, 18%, 30.2%)
CIE-LABlab(42.04, 66.05, -27.63)
CIE-LCHlch(42.04, 71.60, 337.30°)
OKLaboklab(52.84% 0.1969 -0.0749)
OKLCHoklch(52.84% 0.211 339.2)
XYZxyz(24.0391, 12.5227, 28.3397)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F92 #1FB23F
analogous
#881FB2 #B21F92 #B21F48
triadic
#B21F92 #92B21F #1F92B2
tetradic
#B21F92 #B2881F #1FB23F #1F48B2
square
#B21F92 #B2881F #1FB23F #1F48B2
split-complementary
#B21F92 #48B21F #1FB288
monochromatic
#4A0D3C #7E1667 #B21F92 #DB33B7 #E567C9

Accessibility & contrast

On white

5.99
#B21F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B21F92
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21F92#FFFFFF#000000##FFFFFF
##B21F921.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#BD2759
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b21f92;
/* rgb */ color: rgb(178, 31, 146);
/* oklch */ color: oklch(52.8% 0.211 339.2);
Tailwind
colors: {
  custom: {
    50: '#cd6eb2',
    500: '#b21f92',
    950: '#000000',
  },
}
SCSS
$custom: #b21f92;
$custom-light: #cd6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f92",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 313.061,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.21065,
    "h": 339.2
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#B21F92
secondary
#63CA79
accent
#ED623B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B21F92

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

Preview Lab → · Contrast checker → · Palette generator →

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