#B2302B#B2302B

#B2302B is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.168 H 27.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B2302B
RGBrgb(178, 48, 43)
HSLhsl(2, 61%, 43%)
HSVhsv(2, 76%, 70%)
CMYKcmyk(0%, 73%, 75.8%, 30.2%)
CIE-LABlab(40.83, 51.74, 34.33)
CIE-LCHlch(40.83, 62.09, 33.57°)
OKLaboklab(50.98% 0.1491 0.0765)
OKLCHoklch(50.98% 0.168 27.2)
XYZxyz(19.8554, 11.7563, 3.5088)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2302B #2BADB2
analogous
#B22B69 #B2302B #B2732B
triadic
#B2302B #2BB230 #302BB2
tetradic
#B2302B #69B22B #2BADB2 #732BB2
square
#B2302B #69B22B #2BADB2 #732BB2
split-complementary
#B2302B #2BB273 #2B69B2
monochromatic
#4F1513 #81231F #B2302B #D34D48 #DF7D79

Accessibility & contrast

On white

6.27
#B2302B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B2302B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2302B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2302B#FFFFFF#000000##FFFFFF
##B2302B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E29
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b2302b;
/* rgb */ color: rgb(178, 48, 43);
/* oklch */ color: oklch(51.0% 0.168 27.2);
Tailwind
colors: {
  custom: {
    50: '#d27265',
    500: '#b2302b',
    950: '#000000',
  },
}
SCSS
$custom: #b2302b;
$custom-light: #d27265;
$custom-dark: #000000;
JSON
{
  "hex": "#b2302b",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 2.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.16759,
    "h": 27.2
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#B2302B
secondary
#72C3C7
accent
#DEE444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B2302B

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

Preview Lab → · Contrast checker → · Palette generator →

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