#B12727#B12727

#B12727 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.175 H 26.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B12727
RGBrgb(177, 39, 39)
HSLhsl(0, 64%, 42%)
HSVhsv(0, 78%, 69%)
CMYKcmyk(0%, 78%, 78%, 30.6%)
CIE-LABlab(39.49, 54.31, 35.14)
CIE-LCHlch(39.49, 64.69, 32.90°)
OKLaboklab(49.94% 0.1565 0.0773)
OKLCHoklch(49.94% 0.175 26.3)
XYZxyz(19.2255, 10.9477, 3.0199)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12727 #27B1B1
analogous
#B1276C #B12727 #B16C27
triadic
#B12727 #27B127 #2727B1
tetradic
#B12727 #6CB127 #27B1B1 #6C27B1
square
#B12727 #6CB127 #27B1B1 #6C27B1
split-complementary
#B12727 #27B16C #276CB1
monochromatic
#4D1111 #7F1C1C #B12727 #D54040 #E07272

Accessibility & contrast

On white

6.59
#B12727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B12727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12727
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12727#FFFFFF#000000##FFFFFF
##B127271.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12727;
/* rgb */ color: rgb(177, 39, 39);
/* oklch */ color: oklch(49.9% 0.175 26.3);
Tailwind
colors: {
  custom: {
    50: '#d16e62',
    500: '#b12727',
    950: '#000000',
  },
}
SCSS
$custom: #b12727;
$custom-light: #d16e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b12727",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.17453,
    "h": 26.3
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#B12727
secondary
#6DC7C7
accent
#E7E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12727

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

Preview Lab → · Contrast checker → · Palette generator →

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