#B22548#B22548

#B22548 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.176 H 12.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B22548
RGBrgb(178, 37, 72)
HSLhsl(345, 66%, 42%)
HSVhsv(345, 79%, 70%)
CMYKcmyk(0%, 79.2%, 59.6%, 30.2%)
CIE-LABlab(40.01, 56.91, 15.55)
CIE-LCHlch(40.01, 59.00, 15.28°)
OKLaboklab(50.53% 0.1717 0.0385)
OKLCHoklch(50.53% 0.176 12.6)
XYZxyz(20.1934, 11.2590, 7.2395)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22548 #25B28F
analogous
#B2258F #B22548 #B24825
triadic
#B22548 #48B225 #2548B2
tetradic
#B22548 #8FB225 #25B28F #4825B2
square
#B22548 #8FB225 #25B28F #4825B2
split-complementary
#B22548 #25B248 #258FB2
monochromatic
#4D101F #7F1A34 #B22548 #D73D63 #E1708C

Accessibility & contrast

On white

6.46
#B22548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B22548 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22548
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22548#FFFFFF#000000##FFFFFF
##B225481.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C48
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C30034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22548;
/* rgb */ color: rgb(178, 37, 72);
/* oklch */ color: oklch(50.5% 0.176 12.6);
Tailwind
colors: {
  custom: {
    50: '#d06e7a',
    500: '#b22548',
    950: '#000000',
  },
}
SCSS
$custom: #b22548;
$custom-light: #d06e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22548",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 345.106,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.17593,
    "h": 12.6
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#B22548
secondary
#6BC8B1
accent
#E9BF3F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B22548

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

Preview Lab → · Contrast checker → · Palette generator →

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