#B21E90#B21E90

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

Color values

HEX#B21E90
RGBrgb(178, 30, 144)
HSLhsl(314, 71%, 41%)
HSVhsv(314, 83%, 70%)
CMYKcmyk(0%, 83.1%, 19.1%, 30.2%)
CIE-LABlab(41.86, 66.01, -26.69)
CIE-LCHlch(41.86, 71.21, 337.98°)
OKLaboklab(52.68% 0.1974 -0.0722)
OKLCHoklch(52.68% 0.21 339.9)
XYZxyz(23.8591, 12.4096, 27.5189)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B21E90 #1EB240
analogous
#8A1EB2 #B21E90 #B21E46
triadic
#B21E90 #90B21E #1E90B2
tetradic
#B21E90 #B28A1E #1EB240 #1E46B2
square
#B21E90 #B28A1E #1EB240 #1E46B2
split-complementary
#B21E90 #46B21E #1EB28A
monochromatic
#490C3B #7E1566 #B21E90 #DC31B5 #E565C8

Accessibility & contrast

On white

6.03
#B21E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B21E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B21E90
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B21E90#FFFFFF#000000##FFFFFF
##B21E901.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b21e90;
/* rgb */ color: rgb(178, 30, 144);
/* oklch */ color: oklch(52.7% 0.210 339.9);
Tailwind
colors: {
  custom: {
    50: '#cd6eb1',
    500: '#b21e90',
    950: '#000000',
  },
}
SCSS
$custom: #b21e90;
$custom-light: #cd6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b21e90",
  "rgb": {
    "r": 178,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 313.784,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.21018,
    "h": 339.9
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#B21E90
secondary
#62CA7A
accent
#EE633A
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140810
muted
#837B7F

Preview Lab

Preview with #B21E90

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

Preview Lab → · Contrast checker → · Palette generator →

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