#B52F42#B52F42

#B52F42 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.170 H 17.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B52F42
RGBrgb(181, 47, 66)
HSLhsl(351, 59%, 45%)
HSVhsv(351, 74%, 71%)
CMYKcmyk(0%, 74%, 63.5%, 29%)
CIE-LABlab(41.62, 54.21, 21.54)
CIE-LCHlch(41.62, 58.33, 21.67°)
OKLaboklab(51.78% 0.1614 0.0518)
OKLCHoklch(51.78% 0.17 17.8)
XYZxyz(21.0581, 12.2532, 6.4095)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F42 #2FB5A2
analogous
#B52F85 #B52F42 #B55F2F
triadic
#B52F42 #42B52F #2F42B5
tetradic
#B52F42 #85B52F #2FB5A2 #5F2FB5
square
#B52F42 #85B52F #2FB5A2 #5F2FB5
split-complementary
#B52F42 #2FB55F #2F85B5
monochromatic
#54161F #842230 #B52F42 #D15062 #DE808E

Accessibility & contrast

On white

6.09
#B52F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B52F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F42
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F42#FFFFFF#000000##FFFFFF
##B52F421.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545042
Deuteranopia (green-blind)
#766C3E
Tritanopia (blue-blind)
#C70037
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52f42;
/* rgb */ color: rgb(181, 47, 66);
/* oklch */ color: oklch(51.8% 0.170 17.8);
Tailwind
colors: {
  custom: {
    50: '#d27276',
    500: '#b52f42',
    950: '#000000',
  },
}
SCSS
$custom: #b52f42;
$custom-light: #d27276;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f42",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 351.493,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51783,
    "c": 0.16956,
    "h": 17.8
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#B52F42
secondary
#79C7BC
accent
#E2CC46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B52F42

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

Preview Lab → · Contrast checker → · Palette generator →

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