#B45252#B45252

#B45252 is a mid, vivid red. Relative luminance 0.163; OKLCH L 56.2% C 0.128 H 22.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B45252
RGBrgb(180, 82, 82)
HSLhsl(0, 40%, 51%)
HSVhsv(0, 54%, 71%)
CMYKcmyk(0%, 54.4%, 54.4%, 29.4%)
CIE-LABlab(47.43, 39.81, 19.41)
CIE-LCHlch(47.43, 44.29, 25.99°)
OKLaboklab(56.21% 0.1187 0.0481)
OKLCHoklch(56.21% 0.128 22)
XYZxyz(23.3645, 16.3498, 9.9064)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45252 #52B4B4
analogous
#B45283 #B45252 #B48352
triadic
#B45252 #52B452 #5252B4
tetradic
#B45252 #83B452 #52B4B4 #8352B4
square
#B45252 #83B452 #52B4B4 #8352B4
split-complementary
#B45252 #52B483 #5283B4
monochromatic
#612A2A #8C3D3D #B45252 #C77D7D #D9A7A7

Accessibility & contrast

On white

4.92
#B45252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B45252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B45252
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45252#FFFFFF#000000##FFFFFF
##B452521.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696451
Deuteranopia (green-blind)
#817850
Tritanopia (blue-blind)
#C44253
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b45252;
/* rgb */ color: rgb(180, 82, 82);
/* oklch */ color: oklch(56.2% 0.128 22.0);
Tailwind
colors: {
  custom: {
    50: '#cf8682',
    500: '#b45252',
    950: '#000000',
  },
}
SCSS
$custom: #b45252;
$custom-light: #cf8682;
$custom-dark: #000000;
JSON
{
  "hex": "#b45252",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.12803,
    "h": 22
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#B45252
secondary
#9BC7C7
accent
#CFCF58
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #B45252

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

Preview Lab → · Contrast checker → · Palette generator →

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