#B22540#B22540

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

Color values

HEX#B22540
RGBrgb(178, 37, 64)
HSLhsl(349, 66%, 42%)
HSVhsv(349, 79%, 70%)
CMYKcmyk(0%, 79.2%, 64%, 30.2%)
CIE-LABlab(39.85, 56.41, 20.38)
CIE-LCHlch(39.85, 59.98, 19.87°)
OKLaboklab(50.36% 0.1685 0.0491)
OKLCHoklch(50.36% 0.176 16.2)
XYZxyz(19.9492, 11.1613, 5.9534)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22540 #25B297
analogous
#B22586 #B22540 #B25125
triadic
#B22540 #40B225 #2540B2
tetradic
#B22540 #86B225 #25B297 #5125B2
square
#B22540 #86B225 #25B297 #5125B2
split-complementary
#B22540 #25B251 #2586B2
monochromatic
#4D101C #7F1A2E #B22540 #D73D5B #E17086

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22540#FFFFFF#000000##FFFFFF
##B225401.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)
#4E4B40
Deuteranopia (green-blind)
#72683C
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22540;
/* rgb */ color: rgb(178, 37, 64);
/* oklch */ color: oklch(50.4% 0.176 16.2);
Tailwind
colors: {
  custom: {
    50: '#d16e74',
    500: '#b22540',
    950: '#000000',
  },
}
SCSS
$custom: #b22540;
$custom-light: #d16e74;
$custom-dark: #000000;
JSON
{
  "hex": "#b22540",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 348.511,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50358,
    "c": 0.17551,
    "h": 16.2
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#B22540
secondary
#6BC8B6
accent
#E9C83F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B22540

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

Preview Lab → · Contrast checker → · Palette generator →

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