#B7314C#B7314C

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

Color values

HEX#B7314C
RGBrgb(183, 49, 76)
HSLhsl(348, 58%, 45%)
HSVhsv(348, 73%, 72%)
CMYKcmyk(0%, 73.2%, 58.5%, 28.2%)
CIE-LABlab(42.44, 54.77, 16.48)
CIE-LCHlch(42.44, 57.20, 16.74°)
OKLaboklab(52.53% 0.1649 0.0408)
OKLCHoklch(52.53% 0.17 13.9)
XYZxyz(21.9334, 12.7888, 8.1496)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7314C #31B79C
analogous
#B7318F #B7314C #B75931
triadic
#B7314C #4CB731 #314CB7
tetradic
#B7314C #8FB731 #31B79C #5931B7
square
#B7314C #8FB731 #31B79C #5931B7
split-complementary
#B7314C #31B759 #318FB7
monochromatic
#561724 #872438 #B7314C #D1546D #DE8496

Accessibility & contrast

On white

5.90
#B7314C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B7314C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7314C
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7314C#FFFFFF#000000##FFFFFF
##B7314C1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534C
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#C8073C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b7314c;
/* rgb */ color: rgb(183, 49, 76);
/* oklch */ color: oklch(52.5% 0.170 13.9);
Tailwind
colors: {
  custom: {
    50: '#d3747d',
    500: '#b7314c',
    950: '#000000',
  },
}
SCSS
$custom: #b7314c;
$custom-light: #d3747d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7314c",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 347.91,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.16982,
    "h": 13.9
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#B7314C
secondary
#7CC8B8
accent
#E1C247
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B7314C

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

Preview Lab → · Contrast checker → · Palette generator →

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