#B22340#B22340

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

Color values

HEX#B22340
RGBrgb(178, 35, 64)
HSLhsl(348, 67%, 42%)
HSVhsv(348, 80%, 70%)
CMYKcmyk(0%, 80.3%, 64%, 30.2%)
CIE-LABlab(39.65, 56.98, 20.12)
CIE-LCHlch(39.65, 60.43, 19.45°)
OKLaboklab(50.21% 0.1704 0.0485)
OKLCHoklch(50.21% 0.177 15.9)
XYZxyz(19.8887, 11.0402, 5.9332)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22340 #23B295
analogous
#B22388 #B22340 #B24E23
triadic
#B22340 #40B223 #2340B2
tetradic
#B22340 #88B223 #23B295 #4E23B2
square
#B22340 #88B223 #23B295 #4E23B2
split-complementary
#B22340 #23B24E #2388B2
monochromatic
#4C0F1B #7F192E #B22340 #D83A5A #E26D85

Accessibility & contrast

On white

6.55
#B22340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B22340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22340
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22340#FFFFFF#000000##FFFFFF
##B223401.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22340;
/* rgb */ color: rgb(178, 35, 64);
/* oklch */ color: oklch(50.2% 0.177 15.9);
Tailwind
colors: {
  custom: {
    50: '#d16d74',
    500: '#b22340',
    950: '#000000',
  },
}
SCSS
$custom: #b22340;
$custom-light: #d16d74;
$custom-dark: #000000;
JSON
{
  "hex": "#b22340",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 347.832,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.17711,
    "h": 15.9
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#B22340
secondary
#68C9B5
accent
#EAC73E
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B22340

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

Preview Lab → · Contrast checker → · Palette generator →

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