#B9314F#B9314F

#B9314F is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.172 H 12.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B9314F
RGBrgb(185, 49, 79)
HSLhsl(347, 58%, 46%)
HSVhsv(347, 74%, 73%)
CMYKcmyk(0%, 73.5%, 57.3%, 27.5%)
CIE-LABlab(42.88, 55.59, 15.26)
CIE-LCHlch(42.88, 57.65, 15.35°)
OKLaboklab(52.94% 0.1677 0.038)
OKLCHoklch(52.94% 0.172 12.8)
XYZxyz(22.5194, 13.0786, 8.7342)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9314F #31B99B
analogous
#B93193 #B9314F #B95731
triadic
#B9314F #4FB931 #314FB9
tetradic
#B9314F #93B931 #31B99B #5731B9
square
#B9314F #93B931 #31B99B #5731B9
split-complementary
#B9314F #31B957 #3193B9
monochromatic
#581726 #89243A #B9314F #D25571 #DF8699

Accessibility & contrast

On white

5.81
#B9314F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B9314F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9314F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9314F#FFFFFF#000000##FFFFFF
##B9314F1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534F
Deuteranopia (green-blind)
#786F4C
Tritanopia (blue-blind)
#CA073D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b9314f;
/* rgb */ color: rgb(185, 49, 79);
/* oklch */ color: oklch(52.9% 0.172 12.8);
Tailwind
colors: {
  custom: {
    50: '#d57480',
    500: '#b9314f',
    950: '#000000',
  },
}
SCSS
$custom: #b9314f;
$custom-light: #d57480;
$custom-dark: #000000;
JSON
{
  "hex": "#b9314f",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 346.765,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.17199,
    "h": 12.8
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#B9314F
secondary
#7DC8B8
accent
#E1BF46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B9314F

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

Preview Lab → · Contrast checker → · Palette generator →

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