#BB313B#BB313B

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

Color values

HEX#BB313B
RGBrgb(187, 49, 59)
HSLhsl(356, 58%, 46%)
HSVhsv(356, 74%, 73%)
CMYKcmyk(0%, 73.8%, 68.4%, 26.7%)
CIE-LABlab(42.88, 54.96, 27.67)
CIE-LCHlch(42.88, 61.53, 26.72°)
OKLaboklab(52.89% 0.1616 0.0646)
OKLCHoklch(52.89% 0.174 21.8)
XYZxyz(22.3837, 13.0806, 5.4830)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB313B #31BBB1
analogous
#BB3180 #BB313B #BB6C31
triadic
#BB313B #3BBB31 #313BBB
tetradic
#BB313B #80BB31 #31BBB1 #6C31BB
square
#BB313B #80BB31 #31BBB1 #6C31BB
split-complementary
#BB313B #31BB6C #3180BB
monochromatic
#5A181C #8B242C #BB313B #D3565F #E0878D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB313B#FFFFFF#000000##FFFFFF
##BB313B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59523A
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#CD0036
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #bb313b;
/* rgb */ color: rgb(187, 49, 59);
/* oklch */ color: oklch(52.9% 0.174 21.8);
Tailwind
colors: {
  custom: {
    50: '#d77471',
    500: '#bb313b',
    950: '#000000',
  },
}
SCSS
$custom: #bb313b;
$custom-light: #d77471;
$custom-dark: #000000;
JSON
{
  "hex": "#bb313b",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 355.652,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.17404,
    "h": 21.8
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB313B

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

Preview Lab → · Contrast checker → · Palette generator →

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