#B3313F#B3313F

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

Color values

HEX#B3313F
RGBrgb(179, 49, 63)
HSLhsl(354, 57%, 45%)
HSVhsv(354, 73%, 70%)
CMYKcmyk(0%, 72.6%, 64.8%, 29.8%)
CIE-LABlab(41.44, 52.69, 23.09)
CIE-LCHlch(41.44, 57.53, 23.67°)
OKLaboklab(51.57% 0.1563 0.0551)
OKLCHoklch(51.57% 0.166 19.4)
XYZxyz(20.5881, 12.1422, 5.9613)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3313F #31B3A5
analogous
#B33180 #B3313F #B36431
triadic
#B3313F #3FB331 #313FB3
tetradic
#B3313F #80B331 #31B3A5 #6431B3
square
#B3313F #80B331 #31B3A5 #6431B3
split-complementary
#B3313F #31B364 #3180B3
monochromatic
#53171D #83242E #B3313F #D0525F #DD828C

Accessibility & contrast

On white

6.13
#B3313F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B3313F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3313F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3313F#FFFFFF#000000##FFFFFF
##B3313F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503F
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#C40237
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b3313f;
/* rgb */ color: rgb(179, 49, 63);
/* oklch */ color: oklch(51.6% 0.166 19.4);
Tailwind
colors: {
  custom: {
    50: '#d17374',
    500: '#b3313f',
    950: '#000000',
  },
}
SCSS
$custom: #b3313f;
$custom-light: #d17374;
$custom-dark: #000000;
JSON
{
  "hex": "#b3313f",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 353.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.16569,
    "h": 19.4
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#B3313F
secondary
#7AC6BE
accent
#E0D048
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B3313F

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

Preview Lab → · Contrast checker → · Palette generator →

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