#B02831#B02831

#B02831 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.172 H 22.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B02831
RGBrgb(176, 40, 49)
HSLhsl(356, 63%, 42%)
HSVhsv(356, 77%, 69%)
CMYKcmyk(0%, 77.3%, 72.2%, 31%)
CIE-LABlab(39.53, 54.11, 29.20)
CIE-LCHlch(39.53, 61.48, 28.36°)
OKLaboklab(49.97% 0.1582 0.0668)
OKLCHoklch(49.97% 0.172 22.9)
XYZxyz(19.2199, 10.9724, 4.0110)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02831 #28B0A7
analogous
#B02875 #B02831 #B06328
triadic
#B02831 #31B028 #2831B0
tetradic
#B02831 #75B028 #28B0A7 #6328B0
square
#B02831 #75B028 #28B0A7 #6328B0
split-complementary
#B02831 #28B063 #2875B0
monochromatic
#4C1115 #7E1D23 #B02831 #D4414B #DF737A

Accessibility & contrast

On white

6.58
#B02831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B02831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02831
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02831#FFFFFF#000000##FFFFFF
##B028311.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B30
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#C2002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02831;
/* rgb */ color: rgb(176, 40, 49);
/* oklch */ color: oklch(50.0% 0.172 22.9);
Tailwind
colors: {
  custom: {
    50: '#d06e69',
    500: '#b02831',
    950: '#000000',
  },
}
SCSS
$custom: #b02831;
$custom-light: #d06e69;
$custom-dark: #000000;
JSON
{
  "hex": "#b02831",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 356.029,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49973,
    "c": 0.17169,
    "h": 22.9
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#B02831
secondary
#6DC6C1
accent
#E6DB42
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B02831

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

Preview Lab → · Contrast checker → · Palette generator →

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