#B12527#B12527

#B12527 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 25.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B12527
RGBrgb(177, 37, 39)
HSLhsl(359, 65%, 42%)
HSVhsv(359, 79%, 69%)
CMYKcmyk(0%, 79.1%, 78%, 30.6%)
CIE-LABlab(39.28, 54.92, 34.91)
CIE-LCHlch(39.28, 65.08, 32.44°)
OKLaboklab(49.78% 0.1584 0.0768)
OKLCHoklch(49.78% 0.176 25.9)
XYZxyz(19.1615, 10.8198, 2.9986)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12527 #25B1AF
analogous
#B1256D #B12527 #B16925
triadic
#B12527 #27B125 #2527B1
tetradic
#B12527 #6DB125 #25B1AF #6925B1
square
#B12527 #6DB125 #25B1AF #6925B1
split-complementary
#B12527 #25B169 #256DB1
monochromatic
#4C1011 #7E1A1C #B12527 #D63D3F #E16F71

Accessibility & contrast

On white

6.64
#B12527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B12527 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12527
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12527#FFFFFF#000000##FFFFFF
##B125271.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#C30028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b12527;
/* rgb */ color: rgb(177, 37, 39);
/* oklch */ color: oklch(49.8% 0.176 25.9);
Tailwind
colors: {
  custom: {
    50: '#d16d62',
    500: '#b12527',
    950: '#000000',
  },
}
SCSS
$custom: #b12527;
$custom-light: #d16d62;
$custom-dark: #000000;
JSON
{
  "hex": "#b12527",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 39
  },
  "hsl": {
    "h": 359.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.17603,
    "h": 25.9
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#B12527
secondary
#6AC8C6
accent
#E8E63F
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12527

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

Preview Lab → · Contrast checker → · Palette generator →

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