#B1252C#B1252C

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

Color values

HEX#B1252C
RGBrgb(177, 37, 44)
HSLhsl(357, 65%, 42%)
HSVhsv(357, 79%, 69%)
CMYKcmyk(0%, 79.1%, 75.1%, 30.6%)
CIE-LABlab(39.34, 55.11, 32.03)
CIE-LCHlch(39.34, 63.75, 30.17°)
OKLaboklab(49.84% 0.1601 0.0719)
OKLCHoklch(49.84% 0.176 24.2)
XYZxyz(19.2499, 10.8552, 3.4641)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1252C #25B1AA
analogous
#B12572 #B1252C #B16425
triadic
#B1252C #2CB125 #252CB1
tetradic
#B1252C #72B125 #25B1AA #6425B1
square
#B1252C #72B125 #25B1AA #6425B1
split-complementary
#B1252C #25B164 #2572B1
monochromatic
#4C1013 #7E1A1F #B1252C #D63D44 #E16F75

Accessibility & contrast

On white

6.62
#B1252C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1252C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1252C#FFFFFF#000000##FFFFFF
##B1252C1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51492B
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b1252c;
/* rgb */ color: rgb(177, 37, 44);
/* oklch */ color: oklch(49.8% 0.175 24.2);
Tailwind
colors: {
  custom: {
    50: '#d16d65',
    500: '#b1252c',
    950: '#000000',
  },
}
SCSS
$custom: #b1252c;
$custom-light: #d16d65;
$custom-dark: #000000;
JSON
{
  "hex": "#b1252c",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 44
  },
  "hsl": {
    "h": 357,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.1755,
    "h": 24.2
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#B1252C
secondary
#6AC8C3
accent
#E8E03F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B1252C

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

Preview Lab → · Contrast checker → · Palette generator →

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