#B03228#B03228

#B03228 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.164 H 28.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B03228
RGBrgb(176, 50, 40)
HSLhsl(4, 63%, 42%)
HSVhsv(4, 77%, 69%)
CMYKcmyk(0%, 71.6%, 77.3%, 31%)
CIE-LABlab(40.68, 50.22, 35.78)
CIE-LCHlch(40.68, 61.66, 35.47°)
OKLaboklab(50.79% 0.1439 0.079)
OKLCHoklch(50.79% 0.164 28.8)
XYZxyz(19.4303, 11.6675, 3.2360)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03228 #28A6B0
analogous
#B02862 #B03228 #B07628
triadic
#B03228 #28B032 #3228B0
tetradic
#B03228 #62B028 #28A6B0 #7628B0
square
#B03228 #62B028 #28A6B0 #7628B0
split-complementary
#B03228 #28B076 #2862B0
monochromatic
#4C1611 #7E241D #B03228 #D44C41 #DF7B73

Accessibility & contrast

On white

6.30
#B03228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B03228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03228
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03228#FFFFFF#000000##FFFFFF
##B032281.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E26
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#C20031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b03228;
/* rgb */ color: rgb(176, 50, 40);
/* oklch */ color: oklch(50.8% 0.164 28.8);
Tailwind
colors: {
  custom: {
    50: '#d07263',
    500: '#b03228',
    950: '#000000',
  },
}
SCSS
$custom: #b03228;
$custom-light: #d07263;
$custom-dark: #000000;
JSON
{
  "hex": "#b03228",
  "rgb": {
    "r": 176,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 4.412,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.16421,
    "h": 28.8
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#B03228
secondary
#6DC0C6
accent
#DAE642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B03228

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

Preview Lab → · Contrast checker → · Palette generator →

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