#B22D27#B22D27

#B22D27 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.171 H 27.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B22D27
RGBrgb(178, 45, 39)
HSLhsl(3, 64%, 43%)
HSVhsv(3, 78%, 70%)
CMYKcmyk(0%, 74.7%, 78.1%, 30.2%)
CIE-LABlab(40.40, 52.65, 36.15)
CIE-LCHlch(40.40, 63.87, 34.48°)
OKLaboklab(50.64% 0.1511 0.0794)
OKLCHoklch(50.64% 0.171 27.7)
XYZxyz(19.6670, 11.4913, 3.1016)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D27 #27ACB2
analogous
#B22766 #B22D27 #B27327
triadic
#B22D27 #27B22D #2D27B2
tetradic
#B22D27 #66B227 #27ACB2 #7327B2
square
#B22D27 #66B227 #27ACB2 #7327B2
split-complementary
#B22D27 #27B273 #2766B2
monochromatic
#4E1411 #80201C #B22D27 #D54741 #E07873

Accessibility & contrast

On white

6.37
#B22D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B22D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D27
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D27#FFFFFF#000000##FFFFFF
##B22D271.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D25
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22d27;
/* rgb */ color: rgb(178, 45, 39);
/* oklch */ color: oklch(50.6% 0.171 27.7);
Tailwind
colors: {
  custom: {
    50: '#d27062',
    500: '#b22d27',
    950: '#000000',
  },
}
SCSS
$custom: #b22d27;
$custom-light: #d27062;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d27",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 39
  },
  "hsl": {
    "h": 2.59,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.17071,
    "h": 27.7
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#B22D27
secondary
#6DC4C8
accent
#E0E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B22D27

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

Preview Lab → · Contrast checker → · Palette generator →

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