#B3313C#B3313C

#B3313C is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.166 H 20.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B3313C
RGBrgb(179, 49, 60)
HSLhsl(355, 57%, 45%)
HSVhsv(355, 73%, 70%)
CMYKcmyk(0%, 72.6%, 66.5%, 29.8%)
CIE-LABlab(41.39, 52.52, 24.87)
CIE-LCHlch(41.39, 58.11, 25.35°)
OKLaboklab(51.51% 0.1551 0.0588)
OKLCHoklch(51.51% 0.166 20.8)
XYZxyz(20.5065, 12.1096, 5.5317)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3313C #31B3A8
analogous
#B3317D #B3313C #B36731
triadic
#B3313C #3CB331 #313CB3
tetradic
#B3313C #7DB331 #31B3A8 #6731B3
square
#B3313C #7DB331 #31B3A8 #6731B3
split-complementary
#B3313C #31B367 #317DB3
monochromatic
#53171C #83242C #B3313C #D0525C #DD8289

Accessibility & contrast

On white

6.14
#B3313C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B3313C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3313C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3313C#FFFFFF#000000##FFFFFF
##B3313C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503B
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b3313c;
/* rgb */ color: rgb(179, 49, 60);
/* oklch */ color: oklch(51.5% 0.166 20.8);
Tailwind
colors: {
  custom: {
    50: '#d17371',
    500: '#b3313c',
    950: '#000000',
  },
}
SCSS
$custom: #b3313c;
$custom-light: #d17371;
$custom-dark: #000000;
JSON
{
  "hex": "#b3313c",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 354.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.16586,
    "h": 20.8
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#B3313C
secondary
#7AC6BF
accent
#E0D348
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #B3313C

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

Preview Lab → · Contrast checker → · Palette generator →

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