#B22F40#B22F40

#B22F40 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.167 H 18.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B22F40
RGBrgb(178, 47, 64)
HSLhsl(352, 58%, 44%)
HSVhsv(352, 74%, 70%)
CMYKcmyk(0%, 73.6%, 64%, 30.2%)
CIE-LABlab(41.01, 53.16, 21.88)
CIE-LCHlch(41.01, 57.49, 22.38°)
OKLaboklab(51.22% 0.1581 0.0525)
OKLCHoklch(51.22% 0.167 18.4)
XYZxyz(20.3041, 11.8712, 6.0717)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F40 #2FB2A1
analogous
#B22F82 #B22F40 #B2602F
triadic
#B22F40 #40B22F #2F40B2
tetradic
#B22F40 #82B22F #2FB2A1 #602FB2
square
#B22F40 #82B22F #2FB2A1 #602FB2
split-complementary
#B22F40 #2FB260 #2F82B2
monochromatic
#51151D #82222F #B22F40 #D04E5F #DD7E8B

Accessibility & contrast

On white

6.22
#B22F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B22F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F40
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F40#FFFFFF#000000##FFFFFF
##B22F401.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F40
Deuteranopia (green-blind)
#756B3C
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22f40;
/* rgb */ color: rgb(178, 47, 64);
/* oklch */ color: oklch(51.2% 0.167 18.4);
Tailwind
colors: {
  custom: {
    50: '#d07274',
    500: '#b22f40',
    950: '#000000',
  },
}
SCSS
$custom: #b22f40;
$custom-light: #d07274;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f40",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 352.214,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51218,
    "c": 0.16659,
    "h": 18.4
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#B22F40
secondary
#77C6BC
accent
#E1CD46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B22F40

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

Preview Lab → · Contrast checker → · Palette generator →

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