#B02731#B02731

#B02731 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.172 H 22.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B02731
RGBrgb(176, 39, 49)
HSLhsl(356, 64%, 42%)
HSVhsv(356, 78%, 69%)
CMYKcmyk(0%, 77.8%, 72.2%, 31%)
CIE-LABlab(39.42, 54.42, 29.07)
CIE-LCHlch(39.42, 61.70, 28.11°)
OKLaboklab(49.89% 0.1592 0.0665)
OKLCHoklch(49.89% 0.173 22.7)
XYZxyz(19.1866, 10.9059, 3.9999)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02731 #27B0A6
analogous
#B02776 #B02731 #B06127
triadic
#B02731 #31B027 #2731B0
tetradic
#B02731 #76B027 #27B0A6 #6127B0
square
#B02731 #76B027 #27B0A6 #6127B0
split-complementary
#B02731 #27B061 #2776B0
monochromatic
#4C1115 #7E1C23 #B02731 #D5404A #E0727A

Accessibility & contrast

On white

6.60
#B02731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B02731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02731
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02731#FFFFFF#000000##FFFFFF
##B027311.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A30
Deuteranopia (green-blind)
#73672C
Tritanopia (blue-blind)
#C2002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b02731;
/* rgb */ color: rgb(176, 39, 49);
/* oklch */ color: oklch(49.9% 0.172 22.7);
Tailwind
colors: {
  custom: {
    50: '#d06e69',
    500: '#b02731',
    950: '#000000',
  },
}
SCSS
$custom: #b02731;
$custom-light: #d06e69;
$custom-dark: #000000;
JSON
{
  "hex": "#b02731",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 355.62,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.1725,
    "h": 22.7
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#B02731
secondary
#6CC7C0
accent
#E7DB41
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B02731

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

Preview Lab → · Contrast checker → · Palette generator →

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