#BB313F#BB313F

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

Color values

HEX#BB313F
RGBrgb(187, 49, 63)
HSLhsl(354, 58%, 46%)
HSVhsv(354, 74%, 73%)
CMYKcmyk(0%, 73.8%, 66.3%, 26.7%)
CIE-LABlab(42.95, 55.17, 25.32)
CIE-LCHlch(42.95, 60.70, 24.65°)
OKLaboklab(52.96% 0.1631 0.0599)
OKLCHoklch(52.96% 0.174 20.2)
XYZxyz(22.4915, 13.1237, 6.0505)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB313F #31BBAD
analogous
#BB3184 #BB313F #BB6831
triadic
#BB313F #3FBB31 #313FBB
tetradic
#BB313F #84BB31 #31BBAD #6831BB
square
#BB313F #84BB31 #31BBAD #6831BB
split-complementary
#BB313F #31BB68 #3184BB
monochromatic
#5A181E #8B242F #BB313F #D35663 #E08790

Accessibility & contrast

On white

5.79
#BB313F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB313F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB313F#FFFFFF#000000##FFFFFF
##BB313F1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb313f;
/* rgb */ color: rgb(187, 49, 63);
/* oklch */ color: oklch(53.0% 0.174 20.2);
Tailwind
colors: {
  custom: {
    50: '#d77474',
    500: '#bb313f',
    950: '#000000',
  },
}
SCSS
$custom: #bb313f;
$custom-light: #d77474;
$custom-dark: #000000;
JSON
{
  "hex": "#bb313f",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 353.913,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.17379,
    "h": 20.2
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#BB313F
secondary
#7FC9C2
accent
#E2D246
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BB313F

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

Preview Lab → · Contrast checker → · Palette generator →

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