#B2313D#B2313D

#B2313D is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.165 H 20.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B2313D
RGBrgb(178, 49, 61)
HSLhsl(354, 57%, 45%)
HSVhsv(354, 72%, 70%)
CMYKcmyk(0%, 72.5%, 65.7%, 30.2%)
CIE-LABlab(41.22, 52.26, 24.00)
CIE-LCHlch(41.22, 57.51, 24.67°)
OKLaboklab(51.36% 0.1546 0.057)
OKLCHoklch(51.36% 0.165 20.2)
XYZxyz(20.3029, 12.0015, 5.6614)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2313D #31B2A6
analogous
#B2317D #B2313D #B26631
triadic
#B2313D #3DB231 #313DB2
tetradic
#B2313D #7DB231 #31B2A6 #6631B2
square
#B2313D #7DB231 #31B2A6 #6631B2
split-complementary
#B2313D #31B266 #317DB2
monochromatic
#52171C #82242D #B2313D #CF515D #DC818A

Accessibility & contrast

On white

6.18
#B2313D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B2313D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2313D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2313D#FFFFFF#000000##FFFFFF
##B2313D1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503C
Deuteranopia (green-blind)
#756B39
Tritanopia (blue-blind)
#C30236
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2313d;
/* rgb */ color: rgb(178, 49, 61);
/* oklch */ color: oklch(51.4% 0.165 20.2);
Tailwind
colors: {
  custom: {
    50: '#d07372',
    500: '#b2313d',
    950: '#000000',
  },
}
SCSS
$custom: #b2313d;
$custom-light: #d07372;
$custom-dark: #000000;
JSON
{
  "hex": "#b2313d",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 354.419,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.16477,
    "h": 20.2
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#B2313D
secondary
#79C5BE
accent
#E0D248
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #B2313D

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

Preview Lab → · Contrast checker → · Palette generator →

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