#B12730#B12730

#B12730 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.174 H 23.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B12730
RGBrgb(177, 39, 48)
HSLhsl(356, 64%, 42%)
HSVhsv(356, 78%, 69%)
CMYKcmyk(0%, 78%, 72.9%, 30.6%)
CIE-LABlab(39.60, 54.68, 29.94)
CIE-LCHlch(39.60, 62.34, 28.70°)
OKLaboklab(50.06% 0.1596 0.0682)
OKLCHoklch(50.06% 0.174 23.1)
XYZxyz(19.3927, 11.0146, 3.9007)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12730 #27B1A8
analogous
#B12775 #B12730 #B16327
triadic
#B12730 #30B127 #2730B1
tetradic
#B12730 #75B127 #27B1A8 #6327B1
square
#B12730 #75B127 #27B1A8 #6327B1
split-complementary
#B12730 #27B163 #2775B1
monochromatic
#4D1115 #7F1C22 #B12730 #D5404A #E0727A

Accessibility & contrast

On white

6.56
#B12730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B12730 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12730
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12730#FFFFFF#000000##FFFFFF
##B127301.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2F
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#C3002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12730;
/* rgb */ color: rgb(177, 39, 48);
/* oklch */ color: oklch(50.1% 0.174 23.1);
Tailwind
colors: {
  custom: {
    50: '#d16e68',
    500: '#b12730',
    950: '#000000',
  },
}
SCSS
$custom: #b12730;
$custom-light: #d16e68;
$custom-dark: #000000;
JSON
{
  "hex": "#b12730",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 48
  },
  "hsl": {
    "h": 356.087,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.17357,
    "h": 23.1
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#B12730
secondary
#6DC7C1
accent
#E7DC41
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12730

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

Preview Lab → · Contrast checker → · Palette generator →

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