#B2252A#B2252A

#B2252A is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.177 H 24.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B2252A
RGBrgb(178, 37, 42)
HSLhsl(358, 66%, 42%)
HSVhsv(358, 79%, 70%)
CMYKcmyk(0%, 79.2%, 76.4%, 30.2%)
CIE-LABlab(39.51, 55.33, 33.47)
CIE-LCHlch(39.51, 64.67, 31.17°)
OKLaboklab(50% 0.1602 0.0744)
OKLCHoklch(50% 0.177 24.9)
XYZxyz(19.4419, 10.9584, 3.2815)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2252A #25B2AD
analogous
#B22571 #B2252A #B26625
triadic
#B2252A #2AB225 #252AB2
tetradic
#B2252A #71B225 #25B2AD #6625B2
square
#B2252A #71B225 #25B2AD #6625B2
split-complementary
#B2252A #25B266 #2571B2
monochromatic
#4D1012 #7F1A1E #B2252A #D73D43 #E17074

Accessibility & contrast

On white

6.58
#B2252A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B2252A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2252A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2252A#FFFFFF#000000##FFFFFF
##B2252A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A29
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#C40029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b2252a;
/* rgb */ color: rgb(178, 37, 42);
/* oklch */ color: oklch(50.0% 0.177 24.9);
Tailwind
colors: {
  custom: {
    50: '#d26d64',
    500: '#b2252a',
    950: '#000000',
  },
}
SCSS
$custom: #b2252a;
$custom-light: #d26d64;
$custom-dark: #000000;
JSON
{
  "hex": "#b2252a",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 357.872,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.17667,
    "h": 24.9
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#B2252A
secondary
#6BC8C5
accent
#E9E33F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B2252A

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

Preview Lab → · Contrast checker → · Palette generator →

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