#B22830#B22830

#B22830 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.174 H 23.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B22830
RGBrgb(178, 40, 48)
HSLhsl(357, 63%, 43%)
HSVhsv(357, 78%, 70%)
CMYKcmyk(0%, 77.5%, 73%, 30.2%)
CIE-LABlab(39.91, 54.67, 30.35)
CIE-LCHlch(39.91, 62.53, 29.04°)
OKLaboklab(50.32% 0.1595 0.069)
OKLCHoklch(50.32% 0.174 23.4)
XYZxyz(19.6547, 11.1990, 3.9225)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22830 #28B2AA
analogous
#B22875 #B22830 #B26528
triadic
#B22830 #30B228 #2830B2
tetradic
#B22830 #75B228 #28B2AA #6528B2
square
#B22830 #75B228 #28B2AA #6528B2
split-complementary
#B22830 #28B265 #2875B2
monochromatic
#4E1215 #801D23 #B22830 #D5434B #E0757B

Accessibility & contrast

On white

6.48
#B22830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B22830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22830
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22830#FFFFFF#000000##FFFFFF
##B228301.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22830;
/* rgb */ color: rgb(178, 40, 48);
/* oklch */ color: oklch(50.3% 0.174 23.4);
Tailwind
colors: {
  custom: {
    50: '#d26e68',
    500: '#b22830',
    950: '#000000',
  },
}
SCSS
$custom: #b22830;
$custom-light: #d26e68;
$custom-dark: #000000;
JSON
{
  "hex": "#b22830",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 356.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.17374,
    "h": 23.4
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#B22830
secondary
#6FC7C2
accent
#E6DD41
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B22830

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

Preview Lab → · Contrast checker → · Palette generator →

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