#B02A31#B02A31

#B02A31 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.170 H 23.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B02A31
RGBrgb(176, 42, 49)
HSLhsl(357, 61%, 43%)
HSVhsv(357, 76%, 69%)
CMYKcmyk(0%, 76.1%, 72.2%, 31%)
CIE-LABlab(39.77, 53.46, 29.47)
CIE-LCHlch(39.77, 61.04, 28.87°)
OKLaboklab(50.15% 0.1561 0.0674)
OKLCHoklch(50.15% 0.17 23.4)
XYZxyz(19.2890, 11.1108, 4.0341)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A31 #2AB0A9
analogous
#B02A74 #B02A31 #B0662A
triadic
#B02A31 #31B02A #2A31B0
tetradic
#B02A31 #74B02A #2AB0A9 #662AB0
square
#B02A31 #74B02A #2AB0A9 #662AB0
split-complementary
#B02A31 #2AB066 #2A74B0
monochromatic
#4D1215 #7F1E23 #B02A31 #D3454C #DE767C

Accessibility & contrast

On white

6.52
#B02A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B02A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A31
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A31#FFFFFF#000000##FFFFFF
##B02A311.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B30
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#C2002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02a31;
/* rgb */ color: rgb(176, 42, 49);
/* oklch */ color: oklch(50.1% 0.170 23.4);
Tailwind
colors: {
  custom: {
    50: '#d06f69',
    500: '#b02a31',
    950: '#000000',
  },
}
SCSS
$custom: #b02a31;
$custom-light: #d06f69;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a31",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 356.866,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.17002,
    "h": 23.4
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#B02A31
secondary
#70C6C1
accent
#E5DC43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B02A31

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

Preview Lab → · Contrast checker → · Palette generator →

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