#B7314B#B7314B

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

Color values

HEX#B7314B
RGBrgb(183, 49, 75)
HSLhsl(348, 58%, 45%)
HSVhsv(348, 73%, 72%)
CMYKcmyk(0%, 73.2%, 59%, 28.2%)
CIE-LABlab(42.42, 54.70, 17.07)
CIE-LCHlch(42.42, 57.31, 17.33°)
OKLaboklab(52.51% 0.1645 0.0421)
OKLCHoklch(52.51% 0.17 14.4)
XYZxyz(21.8989, 12.7750, 7.9679)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7314B #31B79D
analogous
#B7318E #B7314B #B75A31
triadic
#B7314B #4BB731 #314BB7
tetradic
#B7314B #8EB731 #31B79D #5A31B7
square
#B7314B #8EB731 #31B79D #5A31B7
split-complementary
#B7314B #31B75A #318EB7
monochromatic
#561723 #872437 #B7314B #D1546C #DE8496

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7314B#FFFFFF#000000##FFFFFF
##B7314B1.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)
#55524B
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#C8063C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b7314b;
/* rgb */ color: rgb(183, 49, 75);
/* oklch */ color: oklch(52.5% 0.170 14.4);
Tailwind
colors: {
  custom: {
    50: '#d3747d',
    500: '#b7314b',
    950: '#000000',
  },
}
SCSS
$custom: #b7314b;
$custom-light: #d3747d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7314b",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 75
  },
  "hsl": {
    "h": 348.358,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.16977,
    "h": 14.4
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7314B

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

Preview Lab → · Contrast checker → · Palette generator →

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