#B02834#B02834

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

Color values

HEX#B02834
RGBrgb(176, 40, 52)
HSLhsl(355, 63%, 42%)
HSVhsv(355, 77%, 69%)
CMYKcmyk(0%, 77.3%, 70.5%, 31%)
CIE-LABlab(39.58, 54.25, 27.42)
CIE-LCHlch(39.58, 60.79, 26.82°)
OKLaboklab(50.02% 0.1593 0.0634)
OKLCHoklch(50.02% 0.171 21.7)
XYZxyz(19.2853, 10.9986, 4.3556)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02834 #28B0A4
analogous
#B02878 #B02834 #B06028
triadic
#B02834 #34B028 #2834B0
tetradic
#B02834 #78B028 #28B0A4 #6028B0
square
#B02834 #78B028 #28B0A4 #6028B0
split-complementary
#B02834 #28B060 #2878B0
monochromatic
#4C1117 #7E1D25 #B02834 #D4414E #DF737D

Accessibility & contrast

On white

6.56
#B02834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B02834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02834
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02834#FFFFFF#000000##FFFFFF
##B028341.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B33
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#C2002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02834;
/* rgb */ color: rgb(176, 40, 52);
/* oklch */ color: oklch(50.0% 0.171 21.7);
Tailwind
colors: {
  custom: {
    50: '#d06e6b',
    500: '#b02834',
    950: '#000000',
  },
}
SCSS
$custom: #b02834;
$custom-light: #d06e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b02834",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 354.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.17145,
    "h": 21.7
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#B02834
secondary
#6DC6BF
accent
#E6D842
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B02834

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

Preview Lab → · Contrast checker → · Palette generator →

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