#B42045#B42045

#B42045 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.5% C 0.181 H 13.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B42045
RGBrgb(180, 32, 69)
HSLhsl(345, 70%, 42%)
HSVhsv(345, 82%, 71%)
CMYKcmyk(0%, 82.2%, 61.7%, 29.4%)
CIE-LABlab(39.86, 58.65, 17.32)
CIE-LCHlch(39.86, 61.15, 16.45°)
OKLaboklab(50.47% 0.1765 0.0424)
OKLCHoklch(50.47% 0.181 13.5)
XYZxyz(20.4152, 11.1691, 6.7100)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42045 #20B48F
analogous
#B4208F #B42045 #B44520
triadic
#B42045 #45B420 #2045B4
tetradic
#B42045 #8FB420 #20B48F #4520B4
square
#B42045 #8FB420 #20B48F #4520B4
split-complementary
#B42045 #20B445 #208FB4
monochromatic
#4C0E1D #801731 #B42045 #DB365F #E46A89

Accessibility & contrast

On white

6.50
#B42045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B42045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42045
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42045#FFFFFF#000000##FFFFFF
##B420451.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B45
Deuteranopia (green-blind)
#716941
Tritanopia (blue-blind)
#C50031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42045;
/* rgb */ color: rgb(180, 32, 69);
/* oklch */ color: oklch(50.5% 0.181 13.5);
Tailwind
colors: {
  custom: {
    50: '#d26c78',
    500: '#b42045',
    950: '#000000',
  },
}
SCSS
$custom: #b42045;
$custom-light: #d26c78;
$custom-dark: #000000;
JSON
{
  "hex": "#b42045",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 345,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5047,
    "c": 0.18146,
    "h": 13.5
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#B42045
secondary
#66CAB1
accent
#EDC03B
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B42045

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

Preview Lab → · Contrast checker → · Palette generator →

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