#B22542#B22542

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

Color values

HEX#B22542
RGBrgb(178, 37, 66)
HSLhsl(348, 66%, 42%)
HSVhsv(348, 79%, 70%)
CMYKcmyk(0%, 79.2%, 62.9%, 30.2%)
CIE-LABlab(39.89, 56.53, 19.18)
CIE-LCHlch(39.89, 59.69, 18.74°)
OKLaboklab(50.4% 0.1693 0.0465)
OKLCHoklch(50.4% 0.176 15.4)
XYZxyz(20.0072, 11.1845, 6.2585)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22542 #25B295
analogous
#B22588 #B22542 #B24F25
triadic
#B22542 #42B225 #2542B2
tetradic
#B22542 #88B225 #25B295 #4F25B2
square
#B22542 #88B225 #25B295 #4F25B2
split-complementary
#B22542 #25B24F #2588B2
monochromatic
#4D101C #7F1A2F #B22542 #D73D5D #E17087

Accessibility & contrast

On white

6.49
#B22542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B22542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22542
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22542#FFFFFF#000000##FFFFFF
##B225421.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22542;
/* rgb */ color: rgb(178, 37, 66);
/* oklch */ color: oklch(50.4% 0.176 15.4);
Tailwind
colors: {
  custom: {
    50: '#d06e76',
    500: '#b22542',
    950: '#000000',
  },
}
SCSS
$custom: #b22542;
$custom-light: #d06e76;
$custom-dark: #000000;
JSON
{
  "hex": "#b22542",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 347.66,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.17557,
    "h": 15.4
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#B22542
secondary
#6BC8B5
accent
#E9C63F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B22542

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

Preview Lab → · Contrast checker → · Palette generator →

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