#B02631#B02631

#B02631 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.173 H 22.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B02631
RGBrgb(176, 38, 49)
HSLhsl(355, 64%, 42%)
HSVhsv(355, 78%, 69%)
CMYKcmyk(0%, 78.4%, 72.2%, 31%)
CIE-LABlab(39.31, 54.73, 28.94)
CIE-LCHlch(39.31, 61.91, 27.87°)
OKLaboklab(49.81% 0.1601 0.0662)
OKLCHoklch(49.81% 0.173 22.5)
XYZxyz(19.1542, 10.8411, 3.9891)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02631 #26B0A5
analogous
#B02676 #B02631 #B06026
triadic
#B02631 #31B026 #2631B0
tetradic
#B02631 #76B026 #26B0A5 #6026B0
square
#B02631 #76B026 #26B0A5 #6026B0
split-complementary
#B02631 #26B060 #2676B0
monochromatic
#4B1015 #7E1B23 #B02631 #D53E4A #E07079

Accessibility & contrast

On white

6.63
#B02631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B02631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02631
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02631#FFFFFF#000000##FFFFFF
##B026311.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A30
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C2002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02631;
/* rgb */ color: rgb(176, 38, 49);
/* oklch */ color: oklch(49.8% 0.173 22.5);
Tailwind
colors: {
  custom: {
    50: '#d06d69',
    500: '#b02631',
    950: '#000000',
  },
}
SCSS
$custom: #b02631;
$custom-light: #d06d69;
$custom-dark: #000000;
JSON
{
  "hex": "#b02631",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 49
  },
  "hsl": {
    "h": 355.217,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.1733,
    "h": 22.5
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#B02631
secondary
#6BC7C0
accent
#E7DA40
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B02631

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

Preview Lab → · Contrast checker → · Palette generator →

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