#B22845#B22845

#B22845 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.7% C 0.173 H 14.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B22845
RGBrgb(178, 40, 69)
HSLhsl(347, 63%, 43%)
HSVhsv(347, 78%, 70%)
CMYKcmyk(0%, 77.5%, 61.2%, 30.2%)
CIE-LABlab(40.27, 55.81, 17.79)
CIE-LCHlch(40.27, 58.58, 17.68°)
OKLaboklab(50.7% 0.1676 0.0435)
OKLCHoklch(50.7% 0.173 14.6)
XYZxyz(20.1952, 11.4152, 6.7690)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22845 #28B295
analogous
#B2288A #B22845 #B25028
triadic
#B22845 #45B228 #2845B2
tetradic
#B22845 #8AB228 #28B295 #5028B2
square
#B22845 #8AB228 #28B295 #5028B2
split-complementary
#B22845 #28B250 #288AB2
monochromatic
#4E121E #801D32 #B22845 #D54361 #E0758B

Accessibility & contrast

On white

6.40
#B22845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B22845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22845
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22845#FFFFFF#000000##FFFFFF
##B228451.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D45
Deuteranopia (green-blind)
#726941
Tritanopia (blue-blind)
#C30034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22845;
/* rgb */ color: rgb(178, 40, 69);
/* oklch */ color: oklch(50.7% 0.173 14.6);
Tailwind
colors: {
  custom: {
    50: '#d06f78',
    500: '#b22845',
    950: '#000000',
  },
}
SCSS
$custom: #b22845;
$custom-light: #d06f78;
$custom-dark: #000000;
JSON
{
  "hex": "#b22845",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 347.391,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.17313,
    "h": 14.6
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#B22845
secondary
#6FC7B5
accent
#E6C441
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B22845

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

Preview Lab → · Contrast checker → · Palette generator →

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