#B12F2D#B12F2D

#B12F2D is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.167 H 26.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B12F2D
RGBrgb(177, 47, 45)
HSLhsl(1, 59%, 44%)
HSVhsv(1, 75%, 69%)
CMYKcmyk(0%, 73.4%, 74.6%, 30.6%)
CIE-LABlab(40.53, 51.86, 32.78)
CIE-LCHlch(40.53, 61.35, 32.30°)
OKLaboklab(50.73% 0.15 0.0737)
OKLCHoklch(50.73% 0.167 26.2)
XYZxyz(19.6239, 11.5726, 3.6826)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F2D #2DAFB1
analogous
#B12D6D #B12F2D #B1712D
triadic
#B12F2D #2DB12F #2F2DB1
tetradic
#B12F2D #6DB12D #2DAFB1 #712DB1
square
#B12F2D #6DB12D #2DAFB1 #712DB1
split-complementary
#B12F2D #2DB171 #2D6DB1
monochromatic
#4F1514 #802221 #B12F2D #D14C4A #DD7C7B

Accessibility & contrast

On white

6.34
#B12F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B12F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F2D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F2D#FFFFFF#000000##FFFFFF
##B12F2D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E2B
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12f2d;
/* rgb */ color: rgb(177, 47, 45);
/* oklch */ color: oklch(50.7% 0.167 26.2);
Tailwind
colors: {
  custom: {
    50: '#d17166',
    500: '#b12f2d',
    950: '#000000',
  },
}
SCSS
$custom: #b12f2d;
$custom-light: #d17166;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f2d",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 0.909,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50731,
    "c": 0.16717,
    "h": 26.2
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#B12F2D
secondary
#74C4C6
accent
#E0E345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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