#B02838#B02838

#B02838 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.171 H 20.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B02838
RGBrgb(176, 40, 56)
HSLhsl(353, 63%, 42%)
HSVhsv(353, 77%, 69%)
CMYKcmyk(0%, 77.3%, 68.2%, 31%)
CIE-LABlab(39.64, 54.45, 25.04)
CIE-LCHlch(39.64, 59.93, 24.69°)
OKLaboklab(50.09% 0.1608 0.0588)
OKLCHoklch(50.09% 0.171 20.1)
XYZxyz(19.3792, 11.0362, 4.8504)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02838 #28B0A0
analogous
#B0287C #B02838 #B05C28
triadic
#B02838 #38B028 #2838B0
tetradic
#B02838 #7CB028 #28B0A0 #5C28B0
square
#B02838 #7CB028 #28B0A0 #5C28B0
split-complementary
#B02838 #28B05C #287CB0
monochromatic
#4C1118 #7E1D28 #B02838 #D44153 #DF7380

Accessibility & contrast

On white

6.55
#B02838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02838
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02838#FFFFFF#000000##FFFFFF
##B028381.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B38
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C2002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02838;
/* rgb */ color: rgb(176, 40, 56);
/* oklch */ color: oklch(50.1% 0.171 20.1);
Tailwind
colors: {
  custom: {
    50: '#cf6e6e',
    500: '#b02838',
    950: '#000000',
  },
}
SCSS
$custom: #b02838;
$custom-light: #cf6e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02838",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 352.941,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.17121,
    "h": 20.1
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#B02838
secondary
#6DC6BC
accent
#E6D342
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B02838

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

Preview Lab → · Contrast checker → · Palette generator →

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