#B22291#B22291

#B22291 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.208 H 339.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B22291
RGBrgb(178, 34, 145)
HSLhsl(314, 68%, 42%)
HSVhsv(314, 81%, 70%)
CMYKcmyk(0%, 80.9%, 18.5%, 30.2%)
CIE-LABlab(42.24, 65.19, -26.71)
CIE-LCHlch(42.24, 70.45, 337.72°)
OKLaboklab(52.97% 0.1946 -0.0723)
OKLCHoklch(52.97% 0.208 339.6)
XYZxyz(24.0437, 12.6558, 27.9592)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22291 #22B243
analogous
#8B22B2 #B22291 #B22249
triadic
#B22291 #91B222 #2291B2
tetradic
#B22291 #B28B22 #22B243 #2249B2
square
#B22291 #B28B22 #22B243 #2249B2
split-complementary
#B22291 #49B222 #22B28B
monochromatic
#4B0E3D #7F1867 #B22291 #D938B4 #E36CC8

Accessibility & contrast

On white

5.95
#B22291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B22291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22291
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22291#FFFFFF#000000##FFFFFF
##B222911.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#5E6C8E
Tritanopia (blue-blind)
#BD2959
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22291;
/* rgb */ color: rgb(178, 34, 145);
/* oklch */ color: oklch(53.0% 0.208 339.6);
Tailwind
colors: {
  custom: {
    50: '#cd6fb1',
    500: '#b22291',
    950: '#000000',
  },
}
SCSS
$custom: #b22291;
$custom-light: #cd6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22291",
  "rgb": {
    "r": 178,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 313.75,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.20756,
    "h": 339.6
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#B22291
secondary
#67C97D
accent
#EB653D
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140810
muted
#837B7F

Preview Lab

Preview with #B22291

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

Preview Lab → · Contrast checker → · Palette generator →

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