#B22A5A#B22A5A

#B22A5A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.174 H 4.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B22A5A
RGBrgb(178, 42, 90)
HSLhsl(339, 62%, 43%)
HSVhsv(339, 76%, 70%)
CMYKcmyk(0%, 76.4%, 49.4%, 30.2%)
CIE-LABlab(41.00, 56.77, 5.54)
CIE-LCHlch(41.00, 57.04, 5.57°)
OKLaboklab(51.4% 0.1736 0.0147)
OKLCHoklch(51.4% 0.174 4.8)
XYZxyz(21.0353, 11.8620, 10.8528)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A5A #2AB282
analogous
#B22A9E #B22A5A #B23E2A
triadic
#B22A5A #5AB22A #2A5AB2
tetradic
#B22A5A #9EB22A #2AB282 #3E2AB2
square
#B22A5A #9EB22A #2AB282 #3E2AB2
split-complementary
#B22A5A #2AB23E #2A9EB2
monochromatic
#4F1328 #801E41 #B22A5A #D34678 #DF779C

Accessibility & contrast

On white

6.23
#B22A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B22A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A5A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A5A#FFFFFF#000000##FFFFFF
##B22A5A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C2063F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22a5a;
/* rgb */ color: rgb(178, 42, 90);
/* oklch */ color: oklch(51.4% 0.174 4.8);
Tailwind
colors: {
  custom: {
    50: '#cf7088',
    500: '#b22a5a',
    950: '#000000',
  },
}
SCSS
$custom: #b22a5a;
$custom-light: #cf7088;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a5a",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 338.824,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.17426,
    "h": 4.8
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#B22A5A
secondary
#71C7A9
accent
#E5AC43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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