#B22338#B22338

#B22338 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.177 H 19.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B22338
RGBrgb(178, 35, 56)
HSLhsl(351, 67%, 42%)
HSVhsv(351, 80%, 70%)
CMYKcmyk(0%, 80.3%, 68.5%, 30.2%)
CIE-LABlab(39.51, 56.54, 24.95)
CIE-LCHlch(39.51, 61.80, 23.81°)
OKLaboklab(50.06% 0.1672 0.0585)
OKLCHoklch(50.06% 0.177 19.3)
XYZxyz(19.6772, 10.9556, 4.8192)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22338 #23B29D
analogous
#B22380 #B22338 #B25623
triadic
#B22338 #38B223 #2338B2
tetradic
#B22338 #80B223 #23B29D #5623B2
square
#B22338 #80B223 #23B29D #5623B2
split-complementary
#B22338 #23B256 #2380B2
monochromatic
#4C0F18 #7F1928 #B22338 #D83A51 #E26D7E

Accessibility & contrast

On white

6.58
#B22338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B22338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22338
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22338#FFFFFF#000000##FFFFFF
##B223381.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22338;
/* rgb */ color: rgb(178, 35, 56);
/* oklch */ color: oklch(50.1% 0.177 19.3);
Tailwind
colors: {
  custom: {
    50: '#d16d6e',
    500: '#b22338',
    950: '#000000',
  },
}
SCSS
$custom: #b22338;
$custom-light: #d16d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b22338",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 351.189,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.17715,
    "h": 19.3
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#B22338
secondary
#68C9BA
accent
#EAD13E
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160807
muted
#847B7A

Preview Lab

Preview with #B22338

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

Preview Lab → · Contrast checker → · Palette generator →

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