#B22381#B22381

#B22381 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 346.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B22381
RGBrgb(178, 35, 129)
HSLhsl(321, 67%, 42%)
HSVhsv(321, 80%, 70%)
CMYKcmyk(0%, 80.3%, 27.5%, 30.2%)
CIE-LABlab(41.62, 62.88, -17.88)
CIE-LCHlch(41.62, 65.38, 344.13°)
OKLaboklab(52.29% 0.1914 -0.0474)
OKLCHoklch(52.29% 0.197 346.1)
XYZxyz(22.9247, 12.2546, 21.9227)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22381 #23B254
analogous
#9B23B2 #B22381 #B2233A
triadic
#B22381 #81B223 #2381B2
tetradic
#B22381 #B29B23 #23B254 #233AB2
square
#B22381 #B29B23 #23B254 #233AB2
split-complementary
#B22381 #3AB223 #23B29B
monochromatic
#4C0F37 #7F195C #B22381 #D83AA2 #E26DBA

Accessibility & contrast

On white

6.09
#B22381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B22381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22381
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22381#FFFFFF#000000##FFFFFF
##B223811.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395383
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#BF1E50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22381;
/* rgb */ color: rgb(178, 35, 129);
/* oklch */ color: oklch(52.3% 0.197 346.1);
Tailwind
colors: {
  custom: {
    50: '#ce6fa5',
    500: '#b22381',
    950: '#000000',
  },
}
SCSS
$custom: #b22381;
$custom-light: #ce6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22381",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 320.559,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.19714,
    "h": 346.1
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#B22381
secondary
#68C989
accent
#EA793E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B22381

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

Preview Lab → · Contrast checker → · Palette generator →

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