#BB313A#BB313A

#BB313A is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.174 H 22.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BB313A
RGBrgb(187, 49, 58)
HSLhsl(356, 58%, 46%)
HSVhsv(356, 74%, 73%)
CMYKcmyk(0%, 73.8%, 69%, 26.7%)
CIE-LABlab(42.87, 54.91, 28.26)
CIE-LCHlch(42.87, 61.75, 27.23°)
OKLaboklab(52.88% 0.1612 0.0658)
OKLCHoklch(52.88% 0.174 22.2)
XYZxyz(22.3580, 13.0703, 5.3477)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB313A #31BBB2
analogous
#BB317F #BB313A #BB6D31
triadic
#BB313A #3ABB31 #313ABB
tetradic
#BB313A #7FBB31 #31BBB2 #6D31BB
square
#BB313A #7FBB31 #31BBB2 #6D31BB
split-complementary
#BB313A #31BB6D #317FBB
monochromatic
#5A181C #8B242B #BB313A #D3565E #E0878D

Accessibility & contrast

On white

5.81
#BB313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BB313A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB313A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB313A#FFFFFF#000000##FFFFFF
##BB313A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595239
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#CE0036
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #bb313a;
/* rgb */ color: rgb(187, 49, 58);
/* oklch */ color: oklch(52.9% 0.174 22.2);
Tailwind
colors: {
  custom: {
    50: '#d77470',
    500: '#bb313a',
    950: '#000000',
  },
}
SCSS
$custom: #bb313a;
$custom-light: #d77470;
$custom-dark: #000000;
JSON
{
  "hex": "#bb313a",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 356.087,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.17411,
    "h": 22.2
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#BB313A
secondary
#7FC9C4
accent
#E2D846
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BB313A

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

Preview Lab → · Contrast checker → · Palette generator →

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