#B7314F#B7314F

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

Color values

HEX#B7314F
RGBrgb(183, 49, 79)
HSLhsl(347, 58%, 45%)
HSVhsv(347, 73%, 72%)
CMYKcmyk(0%, 73.2%, 56.8%, 28.2%)
CIE-LABlab(42.51, 54.99, 14.70)
CIE-LCHlch(42.51, 56.92, 14.96°)
OKLaboklab(52.6% 0.166 0.0367)
OKLCHoklch(52.6% 0.17 12.5)
XYZxyz(22.0401, 12.8315, 8.7118)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7314F #31B799
analogous
#B73192 #B7314F #B75631
triadic
#B7314F #4FB731 #314FB7
tetradic
#B7314F #92B731 #31B799 #5631B7
square
#B7314F #92B731 #31B799 #5631B7
split-complementary
#B7314F #31B756 #3192B7
monochromatic
#561725 #87243A #B7314F #D15470 #DE8498

Accessibility & contrast

On white

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

On black

3.57
#B7314F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B7314F#FFFFFF#000000##FFFFFF
##B7314F1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#C80A3D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b7314f;
/* rgb */ color: rgb(183, 49, 79);
/* oklch */ color: oklch(52.6% 0.170 12.5);
Tailwind
colors: {
  custom: {
    50: '#d37480',
    500: '#b7314f',
    950: '#000000',
  },
}
SCSS
$custom: #b7314f;
$custom-light: #d37480;
$custom-dark: #000000;
JSON
{
  "hex": "#b7314f",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 346.567,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.17004,
    "h": 12.5
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7314F

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

Preview Lab → · Contrast checker → · Palette generator →

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