#B7314A#B7314A

#B7314A is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.170 H 14.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B7314A
RGBrgb(183, 49, 74)
HSLhsl(349, 58%, 45%)
HSVhsv(349, 73%, 72%)
CMYKcmyk(0%, 73.2%, 59.6%, 28.2%)
CIE-LABlab(42.40, 54.63, 17.67)
CIE-LCHlch(42.40, 57.42, 17.92°)
OKLaboklab(52.49% 0.1641 0.0435)
OKLCHoklch(52.49% 0.17 14.8)
XYZxyz(21.8650, 12.7615, 7.7891)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7314A #31B79E
analogous
#B7318D #B7314A #B75B31
triadic
#B7314A #4AB731 #314AB7
tetradic
#B7314A #8DB731 #31B79E #5B31B7
square
#B7314A #8DB731 #31B79E #5B31B7
split-complementary
#B7314A #31B75B #318DB7
monochromatic
#561723 #872436 #B7314A #D1546B #DE8495

Accessibility & contrast

On white

5.91
#B7314A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B7314A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7314A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7314A#FFFFFF#000000##FFFFFF
##B7314A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55524A
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#C8053B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b7314a;
/* rgb */ color: rgb(183, 49, 74);
/* oklch */ color: oklch(52.5% 0.170 14.8);
Tailwind
colors: {
  custom: {
    50: '#d3747c',
    500: '#b7314a',
    950: '#000000',
  },
}
SCSS
$custom: #b7314a;
$custom-light: #d3747c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7314a",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 348.806,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.16972,
    "h": 14.8
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#B7314A
secondary
#7CC8B9
accent
#E1C447
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B7314A

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

Preview Lab → · Contrast checker → · Palette generator →

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