#B1252A#B1252A

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

Color values

HEX#B1252A
RGBrgb(177, 37, 42)
HSLhsl(358, 65%, 42%)
HSVhsv(358, 79%, 69%)
CMYKcmyk(0%, 79.1%, 76.3%, 30.6%)
CIE-LABlab(39.31, 55.04, 33.19)
CIE-LCHlch(39.31, 64.27, 31.09°)
OKLaboklab(49.81% 0.1594 0.0739)
OKLCHoklch(49.81% 0.176 24.9)
XYZxyz(19.2132, 10.8405, 3.2708)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1252A #25B1AC
analogous
#B12570 #B1252A #B16625
triadic
#B1252A #2AB125 #252AB1
tetradic
#B1252A #70B125 #25B1AC #6625B1
square
#B1252A #70B125 #25B1AC #6625B1
split-complementary
#B1252A #25B166 #2570B1
monochromatic
#4C1012 #7E1A1E #B1252A #D63D42 #E16F73

Accessibility & contrast

On white

6.63
#B1252A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B1252A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1252A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1252A#FFFFFF#000000##FFFFFF
##B1252A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514929
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b1252a;
/* rgb */ color: rgb(177, 37, 42);
/* oklch */ color: oklch(49.8% 0.176 24.9);
Tailwind
colors: {
  custom: {
    50: '#d16d64',
    500: '#b1252a',
    950: '#000000',
  },
}
SCSS
$custom: #b1252a;
$custom-light: #d16d64;
$custom-dark: #000000;
JSON
{
  "hex": "#b1252a",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 357.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.1757,
    "h": 24.9
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#B1252A
secondary
#6AC8C4
accent
#E8E23F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B1252A

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

Preview Lab → · Contrast checker → · Palette generator →

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