#B2252D#B2252D

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

Color values

HEX#B2252D
RGBrgb(178, 37, 45)
HSLhsl(357, 66%, 42%)
HSVhsv(357, 79%, 70%)
CMYKcmyk(0%, 79.2%, 74.7%, 30.2%)
CIE-LABlab(39.55, 55.45, 31.73)
CIE-LCHlch(39.55, 63.89, 29.78°)
OKLaboklab(50.04% 0.1613 0.0714)
OKLCHoklch(50.04% 0.176 23.9)
XYZxyz(19.4976, 10.9807, 3.5750)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2252D #25B2AA
analogous
#B22573 #B2252D #B26425
triadic
#B2252D #2DB225 #252DB2
tetradic
#B2252D #73B225 #25B2AA #6425B2
square
#B2252D #73B225 #25B2AA #6425B2
split-complementary
#B2252D #25B264 #2573B2
monochromatic
#4D1013 #7F1A20 #B2252D #D73D46 #E17077

Accessibility & contrast

On white

6.57
#B2252D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B2252D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2252D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2252D#FFFFFF#000000##FFFFFF
##B2252D1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#C4002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b2252d;
/* rgb */ color: rgb(178, 37, 45);
/* oklch */ color: oklch(50.0% 0.176 23.9);
Tailwind
colors: {
  custom: {
    50: '#d26d66',
    500: '#b2252d',
    950: '#000000',
  },
}
SCSS
$custom: #b2252d;
$custom-light: #d26d66;
$custom-dark: #000000;
JSON
{
  "hex": "#b2252d",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 356.596,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.17636,
    "h": 23.9
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

primary
#B2252D
secondary
#6BC8C3
accent
#E9DF3F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B2252D

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

Preview Lab → · Contrast checker → · Palette generator →

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