#B22A58#B22A58

#B22A58 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.174 H 5.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B22A58
RGBrgb(178, 42, 88)
HSLhsl(340, 62%, 43%)
HSVhsv(340, 76%, 70%)
CMYKcmyk(0%, 76.4%, 50.6%, 30.2%)
CIE-LABlab(40.94, 56.60, 6.72)
CIE-LCHlch(40.94, 57.00, 6.77°)
OKLaboklab(51.34% 0.1729 0.0176)
OKLCHoklch(51.34% 0.174 5.8)
XYZxyz(20.9514, 11.8284, 10.4105)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A58 #2AB284
analogous
#B22A9C #B22A58 #B2402A
triadic
#B22A58 #58B22A #2A58B2
tetradic
#B22A58 #9CB22A #2AB284 #402AB2
square
#B22A58 #9CB22A #2AB284 #402AB2
split-complementary
#B22A58 #2AB240 #2A9CB2
monochromatic
#4F1327 #801E40 #B22A58 #D34676 #DF779A

Accessibility & contrast

On white

6.24
#B22A58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22A58
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A58#FFFFFF#000000##FFFFFF
##B22A581.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F59
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#C2033E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22a58;
/* rgb */ color: rgb(178, 42, 88);
/* oklch */ color: oklch(51.3% 0.174 5.8);
Tailwind
colors: {
  custom: {
    50: '#cf7086',
    500: '#b22a58',
    950: '#000000',
  },
}
SCSS
$custom: #b22a58;
$custom-light: #cf7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a58",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 339.706,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.17379,
    "h": 5.8
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#B22A58
secondary
#71C7AA
accent
#E5AE43
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22A58

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

Preview Lab → · Contrast checker → · Palette generator →

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