#BB313E#BB313E

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

Color values

HEX#BB313E
RGBrgb(187, 49, 62)
HSLhsl(354, 58%, 46%)
HSVhsv(354, 74%, 73%)
CMYKcmyk(0%, 73.8%, 66.8%, 26.7%)
CIE-LABlab(42.93, 55.12, 25.91)
CIE-LCHlch(42.93, 60.90, 25.17°)
OKLaboklab(52.95% 0.1628 0.0611)
OKLCHoklch(52.95% 0.174 20.6)
XYZxyz(22.4638, 13.1126, 5.9046)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB313E #31BBAE
analogous
#BB3183 #BB313E #BB6931
triadic
#BB313E #3EBB31 #313EBB
tetradic
#BB313E #83BB31 #31BBAE #6931BB
square
#BB313E #83BB31 #31BBAE #6931BB
split-complementary
#BB313E #31BB69 #3183BB
monochromatic
#5A181E #8B242E #BB313E #D35662 #E0878F

Accessibility & contrast

On white

5.80
#BB313E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BB313E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB313E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB313E#FFFFFF#000000##FFFFFF
##BB313E1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533D
Deuteranopia (green-blind)
#7B703A
Tritanopia (blue-blind)
#CD0037
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #bb313e;
/* rgb */ color: rgb(187, 49, 62);
/* oklch */ color: oklch(52.9% 0.174 20.6);
Tailwind
colors: {
  custom: {
    50: '#d77473',
    500: '#bb313e',
    950: '#000000',
  },
}
SCSS
$custom: #bb313e;
$custom-light: #d77473;
$custom-dark: #000000;
JSON
{
  "hex": "#bb313e",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 354.348,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.17383,
    "h": 20.6
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#BB313E
secondary
#7FC9C2
accent
#E2D346
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160908
muted
#847B7B

Preview Lab

Preview with #BB313E

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

Preview Lab → · Contrast checker → · Palette generator →

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