#BB2727#BB2727

#BB2727 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.184 H 26.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BB2727
RGBrgb(187, 39, 39)
HSLhsl(0, 65%, 44%)
HSVhsv(0, 79%, 73%)
CMYKcmyk(0%, 79.1%, 79.1%, 26.7%)
CIE-LABlab(41.48, 57.31, 37.83)
CIE-LCHlch(41.48, 68.67, 33.43°)
OKLaboklab(51.77% 0.1648 0.0823)
OKLCHoklch(51.77% 0.184 26.5)
XYZxyz(21.5879, 12.1658, 3.1306)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2727 #27BBBB
analogous
#BB2771 #BB2727 #BB7127
triadic
#BB2727 #27BB27 #2727BB
tetradic
#BB2727 #71BB27 #27BBBB #7127BB
square
#BB2727 #71BB27 #27BBBB #7127BB
split-complementary
#BB2727 #27BB71 #2771BB
monochromatic
#561212 #881C1C #BB2727 #D94747 #E37979

Accessibility & contrast

On white

6.12
#BB2727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#BB2727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2727
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2727#FFFFFF#000000##FFFFFF
##BB27271.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D25
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#CE0029
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #bb2727;
/* rgb */ color: rgb(187, 39, 39);
/* oklch */ color: oklch(51.8% 0.184 26.5);
Tailwind
colors: {
  custom: {
    50: '#d96f62',
    500: '#bb2727',
    950: '#000000',
  },
}
SCSS
$custom: #bb2727;
$custom-light: #d96f62;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2727",
  "rgb": {
    "r": 187,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.18417,
    "h": 26.5
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#BB2727
secondary
#73CBCB
accent
#E8E83F
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #BB2727

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

Preview Lab → · Contrast checker → · Palette generator →

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