#B21F90#B21F90

#B21F90 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.7% C 0.209 H 339.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B21F90
RGBrgb(178, 31, 144)
HSLhsl(314, 70%, 41%)
HSVhsv(314, 83%, 70%)
CMYKcmyk(0%, 82.6%, 19.1%, 30.2%)
CIE-LABlab(41.94, 65.78, -26.57)
CIE-LCHlch(41.94, 70.95, 338.01°)
OKLaboklab(52.74% 0.1967 -0.0719)
OKLCHoklch(52.74% 0.209 339.9)
XYZxyz(23.8849, 12.4610, 27.5275)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21F90 #1FB241
analogous
#8A1FB2 #B21F90 #B21F46
triadic
#B21F90 #90B21F #1F90B2
tetradic
#B21F90 #B28A1F #1FB241 #1F46B2
square
#B21F90 #B28A1F #1FB241 #1F46B2
split-complementary
#B21F90 #46B21F #1FB28A
monochromatic
#4A0D3C #7E1666 #B21F90 #DB33B4 #E567C7

Accessibility & contrast

On white

6.01
#B21F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B21F90
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21F90#FFFFFF#000000##FFFFFF
##B21F901.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5493
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#BD2657
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b21f90;
/* rgb */ color: rgb(178, 31, 144);
/* oklch */ color: oklch(52.7% 0.209 339.9);
Tailwind
colors: {
  custom: {
    50: '#cd6eb1',
    500: '#b21f90',
    950: '#000000',
  },
}
SCSS
$custom: #b21f90;
$custom-light: #cd6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b21f90",
  "rgb": {
    "r": 178,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 313.878,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.2094,
    "h": 339.9
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#B21F90
secondary
#63CA7B
accent
#ED643B
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140810
muted
#837B7F

Preview Lab

Preview with #B21F90

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

Preview Lab → · Contrast checker → · Palette generator →

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