#B22F2F#B22F2F

#B22F2F is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.168 H 25.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B22F2F
RGBrgb(178, 47, 47)
HSLhsl(0, 58%, 44%)
HSVhsv(0, 74%, 70%)
CMYKcmyk(0%, 73.6%, 73.6%, 30.2%)
CIE-LABlab(40.75, 52.27, 31.90)
CIE-LCHlch(40.75, 61.23, 31.40°)
OKLaboklab(50.93% 0.1516 0.0722)
OKLCHoklch(50.93% 0.168 25.5)
XYZxyz(19.8920, 11.7063, 3.9009)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F2F #2FB2B2
analogous
#B22F71 #B22F2F #B2712F
triadic
#B22F2F #2FB22F #2F2FB2
tetradic
#B22F2F #71B22F #2FB2B2 #712FB2
square
#B22F2F #71B22F #2FB2B2 #712FB2
split-complementary
#B22F2F #2FB271 #2F71B2
monochromatic
#511515 #822222 #B22F2F #D04E4E #DD7E7E

Accessibility & contrast

On white

6.29
#B22F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B22F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F2F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F2F#FFFFFF#000000##FFFFFF
##B22F2F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E2E
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22f2f;
/* rgb */ color: rgb(178, 47, 47);
/* oklch */ color: oklch(50.9% 0.168 25.5);
Tailwind
colors: {
  custom: {
    50: '#d17168',
    500: '#b22f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b22f2f;
$custom-light: #d17168;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f2f",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.16793,
    "h": 25.5
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#B22F2F
secondary
#77C6C6
accent
#E1E146
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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