#B2302A#B2302A

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

Color values

HEX#B2302A
RGBrgb(178, 48, 42)
HSLhsl(3, 62%, 43%)
HSVhsv(3, 76%, 70%)
CMYKcmyk(0%, 73%, 76.4%, 30.2%)
CIE-LABlab(40.81, 51.70, 34.89)
CIE-LCHlch(40.81, 62.37, 34.02°)
OKLaboklab(50.97% 0.1488 0.0775)
OKLCHoklch(50.97% 0.168 27.5)
XYZxyz(19.8373, 11.7491, 3.4133)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2302A #2AACB2
analogous
#B22A68 #B2302A #B2742A
triadic
#B2302A #2AB230 #302AB2
tetradic
#B2302A #68B22A #2AACB2 #742AB2
square
#B2302A #68B22A #2AACB2 #742AB2
split-complementary
#B2302A #2AB274 #2A68B2
monochromatic
#4F1513 #80231E #B2302A #D34C46 #DF7C77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2302A#FFFFFF#000000##FFFFFF
##B2302A1.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)
#564E28
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b2302a;
/* rgb */ color: rgb(178, 48, 42);
/* oklch */ color: oklch(51.0% 0.168 27.5);
Tailwind
colors: {
  custom: {
    50: '#d27264',
    500: '#b2302a',
    950: '#000000',
  },
}
SCSS
$custom: #b2302a;
$custom-light: #d27264;
$custom-dark: #000000;
JSON
{
  "hex": "#b2302a",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 2.647,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.16773,
    "h": 27.5
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#B2302A
secondary
#71C3C7
accent
#DEE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B2302A

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

Preview Lab → · Contrast checker → · Palette generator →

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