#B02828#B02828

#B02828 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.173 H 26.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B02828
RGBrgb(176, 40, 40)
HSLhsl(0, 63%, 42%)
HSVhsv(0, 77%, 69%)
CMYKcmyk(0%, 77.3%, 77.3%, 31%)
CIE-LABlab(39.42, 53.73, 34.42)
CIE-LCHlch(39.42, 63.81, 32.64°)
OKLaboklab(49.85% 0.155 0.0761)
OKLCHoklch(49.85% 0.173 26.1)
XYZxyz(19.0486, 10.9039, 3.1088)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02828 #28B0B0
analogous
#B0286C #B02828 #B06C28
triadic
#B02828 #28B028 #2828B0
tetradic
#B02828 #6CB028 #28B0B0 #6C28B0
square
#B02828 #6CB028 #28B0B0 #6C28B0
split-complementary
#B02828 #28B06C #286CB0
monochromatic
#4C1111 #7E1D1D #B02828 #D44141 #DF7373

Accessibility & contrast

On white

6.60
#B02828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B02828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02828
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02828#FFFFFF#000000##FFFFFF
##B028281.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#C2002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02828;
/* rgb */ color: rgb(176, 40, 40);
/* oklch */ color: oklch(49.9% 0.173 26.1);
Tailwind
colors: {
  custom: {
    50: '#d16e62',
    500: '#b02828',
    950: '#000000',
  },
}
SCSS
$custom: #b02828;
$custom-light: #d16e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b02828",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4985,
    "c": 0.17264,
    "h": 26.1
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#B02828
secondary
#6DC6C6
accent
#E6E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B02828

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

Preview Lab → · Contrast checker → · Palette generator →

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