#B2252F#B2252F

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

Color values

HEX#B2252F
RGBrgb(178, 37, 47)
HSLhsl(356, 66%, 42%)
HSVhsv(356, 79%, 70%)
CMYKcmyk(0%, 79.2%, 73.6%, 30.2%)
CIE-LABlab(39.57, 55.54, 30.56)
CIE-LCHlch(39.57, 63.39, 28.82°)
OKLaboklab(50.06% 0.162 0.0693)
OKLCHoklch(50.06% 0.176 23.1)
XYZxyz(19.5370, 10.9964, 3.7826)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2252F #25B2A8
analogous
#B22575 #B2252F #B26225
triadic
#B2252F #2FB225 #252FB2
tetradic
#B2252F #75B225 #25B2A8 #6225B2
square
#B2252F #75B225 #25B2A8 #6225B2
split-complementary
#B2252F #25B262 #2575B2
monochromatic
#4D1014 #7F1A22 #B2252F #D73D48 #E17078

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2252F#FFFFFF#000000##FFFFFF
##B2252F1.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)
#514A2E
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#C4002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b2252f;
/* rgb */ color: rgb(178, 37, 47);
/* oklch */ color: oklch(50.1% 0.176 23.1);
Tailwind
colors: {
  custom: {
    50: '#d26d67',
    500: '#b2252f',
    950: '#000000',
  },
}
SCSS
$custom: #b2252f;
$custom-light: #d26d67;
$custom-dark: #000000;
JSON
{
  "hex": "#b2252f",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 355.745,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.17618,
    "h": 23.1
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#B2252F
secondary
#6BC8C1
accent
#E9DD3F
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B2252F

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

Preview Lab → · Contrast checker → · Palette generator →

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