#B22E4F#B22E4F

#B22E4F is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.5% C 0.168 H 11.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B22E4F
RGBrgb(178, 46, 79)
HSLhsl(345, 59%, 44%)
HSVhsv(345, 74%, 70%)
CMYKcmyk(0%, 74.2%, 55.6%, 30.2%)
CIE-LABlab(41.19, 54.54, 12.75)
CIE-LCHlch(41.19, 56.01, 13.15°)
OKLaboklab(51.46% 0.1652 0.0321)
OKLCHoklch(51.46% 0.168 11)
XYZxyz(20.7503, 11.9864, 8.6166)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E4F #2EB291
analogous
#B22E91 #B22E4F #B24F2E
triadic
#B22E4F #4FB22E #2E4FB2
tetradic
#B22E4F #91B22E #2EB291 #4F2EB2
square
#B22E4F #91B22E #2EB291 #4F2EB2
split-complementary
#B22E4F #2EB24F #2E91B2
monochromatic
#511524 #812139 #B22E4F #D14C6D #DD7D95

Accessibility & contrast

On white

6.18
#B22E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B22E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E4F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E4F#FFFFFF#000000##FFFFFF
##B22E4F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505050
Deuteranopia (green-blind)
#726B4C
Tritanopia (blue-blind)
#C3073C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22e4f;
/* rgb */ color: rgb(178, 46, 79);
/* oklch */ color: oklch(51.5% 0.168 11.0);
Tailwind
colors: {
  custom: {
    50: '#cf7280',
    500: '#b22e4f',
    950: '#000000',
  },
}
SCSS
$custom: #b22e4f;
$custom-light: #cf7280;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e4f",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 345,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51455,
    "c": 0.16825,
    "h": 11
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#B22E4F
secondary
#76C6B2
accent
#E2BB46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B22E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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