#B02A2A#B02A2A

#B02A2A is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.171 H 25.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B02A2A
RGBrgb(176, 42, 42)
HSLhsl(0, 61%, 43%)
HSVhsv(0, 76%, 69%)
CMYKcmyk(0%, 76.1%, 76.1%, 31%)
CIE-LABlab(39.67, 53.16, 33.54)
CIE-LCHlch(39.67, 62.85, 32.25°)
OKLaboklab(50.05% 0.1536 0.0747)
OKLCHoklch(50.05% 0.171 25.9)
XYZxyz(19.1526, 11.0562, 3.3156)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A2A #2AB0B0
analogous
#B02A6D #B02A2A #B06D2A
triadic
#B02A2A #2AB02A #2A2AB0
tetradic
#B02A2A #6DB02A #2AB0B0 #6D2AB0
square
#B02A2A #6DB02A #2AB0B0 #6D2AB0
split-complementary
#B02A2A #2AB06D #2A6DB0
monochromatic
#4D1212 #7F1E1E #B02A2A #D34545 #DE7676

Accessibility & contrast

On white

6.54
#B02A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02A2A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A2A#FFFFFF#000000##FFFFFF
##B02A2A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#C2002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02a2a;
/* rgb */ color: rgb(176, 42, 42);
/* oklch */ color: oklch(50.0% 0.171 25.9);
Tailwind
colors: {
  custom: {
    50: '#d06f64',
    500: '#b02a2a',
    950: '#000000',
  },
}
SCSS
$custom: #b02a2a;
$custom-light: #d06f64;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a2a",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50048,
    "c": 0.1708,
    "h": 25.9
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#B02A2A
secondary
#70C6C6
accent
#E5E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B02A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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