#B7314E#B7314E

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

Color values

HEX#B7314E
RGBrgb(183, 49, 78)
HSLhsl(347, 58%, 45%)
HSVhsv(347, 73%, 72%)
CMYKcmyk(0%, 73.2%, 57.4%, 28.2%)
CIE-LABlab(42.49, 54.92, 15.29)
CIE-LCHlch(42.49, 57.01, 15.56°)
OKLaboklab(52.58% 0.1656 0.0381)
OKLCHoklch(52.58% 0.17 12.9)
XYZxyz(22.0040, 12.8171, 8.5215)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7314E #31B79A
analogous
#B73191 #B7314E #B75731
triadic
#B7314E #4EB731 #314EB7
tetradic
#B7314E #91B731 #31B79A #5731B7
square
#B7314E #91B731 #31B79A #5731B7
split-complementary
#B7314E #31B757 #3191B7
monochromatic
#561725 #872439 #B7314E #D1546F #DE8498

Accessibility & contrast

On white

5.89
#B7314E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B7314E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7314E#FFFFFF#000000##FFFFFF
##B7314E1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534E
Deuteranopia (green-blind)
#776E4B
Tritanopia (blue-blind)
#C8093D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b7314e;
/* rgb */ color: rgb(183, 49, 78);
/* oklch */ color: oklch(52.6% 0.170 12.9);
Tailwind
colors: {
  custom: {
    50: '#d3747f',
    500: '#b7314e',
    950: '#000000',
  },
}
SCSS
$custom: #b7314e;
$custom-light: #d3747f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7314e",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 347.015,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52576,
    "c": 0.16996,
    "h": 12.9
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#B7314E
secondary
#7CC8B7
accent
#E1C047
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B7314E

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

Preview Lab → · Contrast checker → · Palette generator →

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