#B02331#B02331

#B02331 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.176 H 21.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B02331
RGBrgb(176, 35, 49)
HSLhsl(354, 67%, 41%)
HSVhsv(354, 80%, 69%)
CMYKcmyk(0%, 80.1%, 72.2%, 31%)
CIE-LABlab(39.00, 55.62, 28.57)
CIE-LCHlch(39.00, 62.53, 27.19°)
OKLaboklab(49.57% 0.163 0.0654)
OKLCHoklch(49.57% 0.176 21.9)
XYZxyz(19.0621, 10.6569, 3.9584)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02331 #23B0A2
analogous
#B02378 #B02331 #B05C23
triadic
#B02331 #31B023 #2331B0
tetradic
#B02331 #78B023 #23B0A2 #5C23B0
square
#B02331 #78B023 #23B0A2 #5C23B0
split-complementary
#B02331 #23B05C #2378B0
monochromatic
#4A0F15 #7D1923 #B02331 #D83948 #E26C77

Accessibility & contrast

On white

6.71
#B02331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B02331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02331
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02331#FFFFFF#000000##FFFFFF
##B023311.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C2002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b02331;
/* rgb */ color: rgb(176, 35, 49);
/* oklch */ color: oklch(49.6% 0.176 21.9);
Tailwind
colors: {
  custom: {
    50: '#d06c69',
    500: '#b02331',
    950: '#000000',
  },
}
SCSS
$custom: #b02331;
$custom-light: #d06c69;
$custom-dark: #000000;
JSON
{
  "hex": "#b02331",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 354.043,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.17562,
    "h": 21.9
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#B02331
secondary
#67C8BE
accent
#EAD93E
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #B02331

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

Preview Lab → · Contrast checker → · Palette generator →

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