#B1252B#B1252B

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

Color values

HEX#B1252B
RGBrgb(177, 37, 43)
HSLhsl(357, 65%, 42%)
HSVhsv(357, 79%, 69%)
CMYKcmyk(0%, 79.1%, 75.7%, 30.6%)
CIE-LABlab(39.32, 55.08, 32.61)
CIE-LCHlch(39.32, 64.01, 30.63°)
OKLaboklab(49.83% 0.1598 0.0729)
OKLCHoklch(49.83% 0.176 24.5)
XYZxyz(19.2314, 10.8477, 3.3662)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1252B #25B1AB
analogous
#B12571 #B1252B #B16525
triadic
#B1252B #2BB125 #252BB1
tetradic
#B1252B #71B125 #25B1AB #6525B1
square
#B1252B #71B125 #25B1AB #6525B1
split-complementary
#B1252B #25B165 #2571B1
monochromatic
#4C1012 #7E1A1F #B1252B #D63D43 #E16F74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1252B#FFFFFF#000000##FFFFFF
##B1252B1.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)
#51492A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b1252b;
/* rgb */ color: rgb(177, 37, 43);
/* oklch */ color: oklch(49.8% 0.176 24.5);
Tailwind
colors: {
  custom: {
    50: '#d16d64',
    500: '#b1252b',
    950: '#000000',
  },
}
SCSS
$custom: #b1252b;
$custom-light: #d16d64;
$custom-dark: #000000;
JSON
{
  "hex": "#b1252b",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 43
  },
  "hsl": {
    "h": 357.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.1756,
    "h": 24.5
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1252B

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

Preview Lab → · Contrast checker → · Palette generator →

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