#B02823#B02823

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

Color values

HEX#B02823
RGBrgb(176, 40, 35)
HSLhsl(2, 67%, 41%)
HSVhsv(2, 80%, 69%)
CMYKcmyk(0%, 77.3%, 80.1%, 31%)
CIE-LABlab(39.36, 53.56, 37.21)
CIE-LCHlch(39.36, 65.21, 34.79°)
OKLaboklab(49.79% 0.1534 0.0806)
OKLCHoklch(49.79% 0.173 27.7)
XYZxyz(18.9690, 10.8721, 2.6895)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02823 #23ABB0
analogous
#B02365 #B02823 #B06F23
triadic
#B02823 #23B028 #2823B0
tetradic
#B02823 #65B023 #23ABB0 #6F23B0
square
#B02823 #65B023 #23ABB0 #6F23B0
split-complementary
#B02823 #23B06F #2365B0
monochromatic
#4A110F #7D1C19 #B02823 #D83E39 #E2706C

Accessibility & contrast

On white

6.62
#B02823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02823
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02823#FFFFFF#000000##FFFFFF
##B028231.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A21
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#C20029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02823;
/* rgb */ color: rgb(176, 40, 35);
/* oklch */ color: oklch(49.8% 0.173 27.7);
Tailwind
colors: {
  custom: {
    50: '#d16e5f',
    500: '#b02823',
    950: '#000000',
  },
}
SCSS
$custom: #b02823;
$custom-light: #d16e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02823",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 2.128,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.17327,
    "h": 27.7
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#B02823
secondary
#67C4C8
accent
#E4EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B02823

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

Preview Lab → · Contrast checker → · Palette generator →

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