#B22A5C#B22A5C

#B22A5C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.175 H 3.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B22A5C
RGBrgb(178, 42, 92)
HSLhsl(338, 62%, 43%)
HSVhsv(338, 76%, 70%)
CMYKcmyk(0%, 76.4%, 48.3%, 30.2%)
CIE-LABlab(41.05, 56.94, 4.36)
CIE-LCHlch(41.05, 57.11, 4.38°)
OKLaboklab(51.46% 0.1744 0.0117)
OKLCHoklch(51.46% 0.175 3.8)
XYZxyz(21.1216, 11.8965, 11.3072)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A5C #2AB280
analogous
#B22AA0 #B22A5C #B23C2A
triadic
#B22A5C #5CB22A #2A5CB2
tetradic
#B22A5C #A0B22A #2AB280 #3C2AB2
square
#B22A5C #A0B22A #2AB280 #3C2AB2
split-complementary
#B22A5C #2AB23C #2AA0B2
monochromatic
#4F1329 #801E42 #B22A5C #D3467A #DF779D

Accessibility & contrast

On white

6.22
#B22A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B22A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A5C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A5C#FFFFFF#000000##FFFFFF
##B22A5C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505D
Deuteranopia (green-blind)
#6F6A59
Tritanopia (blue-blind)
#C20840
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22a5c;
/* rgb */ color: rgb(178, 42, 92);
/* oklch */ color: oklch(51.5% 0.175 3.8);
Tailwind
colors: {
  custom: {
    50: '#cf7089',
    500: '#b22a5c',
    950: '#000000',
  },
}
SCSS
$custom: #b22a5c;
$custom-light: #cf7089;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a5c",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 337.941,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.17475,
    "h": 3.8
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#B22A5C
secondary
#71C7A7
accent
#E5A943
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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