#B1242E#B1242E

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

Color values

HEX#B1242E
RGBrgb(177, 36, 46)
HSLhsl(356, 66%, 42%)
HSVhsv(356, 80%, 69%)
CMYKcmyk(0%, 79.7%, 74%, 30.6%)
CIE-LABlab(39.26, 55.49, 30.74)
CIE-LCHlch(39.26, 63.44, 28.99°)
OKLaboklab(49.79% 0.1618 0.0695)
OKLCHoklch(49.79% 0.176 23.3)
XYZxyz(19.2577, 10.8092, 3.6566)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1242E #24B1A7
analogous
#B12475 #B1242E #B16124
triadic
#B1242E #2EB124 #242EB1
tetradic
#B1242E #75B124 #24B1A7 #6124B1
square
#B1242E #75B124 #24B1A7 #6124B1
split-complementary
#B1242E #24B161 #2475B1
monochromatic
#4B0F14 #7E1A21 #B1242E #D73B46 #E16E76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1242E#FFFFFF#000000##FFFFFF
##B1242E1.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)
#50492D
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b1242e;
/* rgb */ color: rgb(177, 36, 46);
/* oklch */ color: oklch(49.8% 0.176 23.3);
Tailwind
colors: {
  custom: {
    50: '#d16d67',
    500: '#b1242e',
    950: '#000000',
  },
}
SCSS
$custom: #b1242e;
$custom-light: #d16d67;
$custom-dark: #000000;
JSON
{
  "hex": "#b1242e",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 355.745,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.17606,
    "h": 23.3
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#B1242E
secondary
#69C8C1
accent
#E9DD3F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B1242E

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

Preview Lab → · Contrast checker → · Palette generator →

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