#B22847#B22847

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

Color values

HEX#B22847
RGBrgb(178, 40, 71)
HSLhsl(347, 63%, 43%)
HSVhsv(347, 78%, 70%)
CMYKcmyk(0%, 77.5%, 60.1%, 30.2%)
CIE-LABlab(40.31, 55.94, 16.59)
CIE-LCHlch(40.31, 58.35, 16.51°)
OKLaboklab(50.75% 0.1684 0.0408)
OKLCHoklch(50.75% 0.173 13.6)
XYZxyz(20.2583, 11.4405, 7.1015)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22847 #28B293
analogous
#B2288C #B22847 #B24E28
triadic
#B22847 #47B228 #2847B2
tetradic
#B22847 #8CB228 #28B293 #4E28B2
square
#B22847 #8CB228 #28B293 #4E28B2
split-complementary
#B22847 #28B24E #288CB2
monochromatic
#4E121F #801D33 #B22847 #D54363 #E0758D

Accessibility & contrast

On white

6.39
#B22847 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B22847 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22847
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22847#FFFFFF#000000##FFFFFF
##B228471.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D47
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#C30035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22847;
/* rgb */ color: rgb(178, 40, 71);
/* oklch */ color: oklch(50.7% 0.173 13.6);
Tailwind
colors: {
  custom: {
    50: '#d06f79',
    500: '#b22847',
    950: '#000000',
  },
}
SCSS
$custom: #b22847;
$custom-light: #d06f79;
$custom-dark: #000000;
JSON
{
  "hex": "#b22847",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 346.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.17324,
    "h": 13.6
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#B22847
secondary
#6FC7B3
accent
#E6C141
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B22847

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

Preview Lab → · Contrast checker → · Palette generator →

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