#B22742#B22742

#B22742 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.6% C 0.174 H 15.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B22742
RGBrgb(178, 39, 66)
HSLhsl(348, 64%, 43%)
HSVhsv(348, 78%, 70%)
CMYKcmyk(0%, 78.1%, 62.9%, 30.2%)
CIE-LABlab(40.10, 55.93, 19.45)
CIE-LCHlch(40.10, 59.22, 19.18°)
OKLaboklab(50.56% 0.1674 0.0471)
OKLCHoklch(50.56% 0.174 15.7)
XYZxyz(20.0711, 11.3124, 6.2799)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22742 #27B297
analogous
#B22788 #B22742 #B25127
triadic
#B22742 #42B227 #2742B2
tetradic
#B22742 #88B227 #27B297 #5127B2
square
#B22742 #88B227 #27B297 #5127B2
split-complementary
#B22742 #27B251 #2788B2
monochromatic
#4E111D #801C2F #B22742 #D5415E #E07388

Accessibility & contrast

On white

6.44
#B22742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B22742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22742
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22742#FFFFFF#000000##FFFFFF
##B227421.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#72693E
Tritanopia (blue-blind)
#C30033
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22742;
/* rgb */ color: rgb(178, 39, 66);
/* oklch */ color: oklch(50.6% 0.174 15.7);
Tailwind
colors: {
  custom: {
    50: '#d06f76',
    500: '#b22742',
    950: '#000000',
  },
}
SCSS
$custom: #b22742;
$custom-light: #d06f76;
$custom-dark: #000000;
JSON
{
  "hex": "#b22742",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 348.345,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50556,
    "c": 0.17388,
    "h": 15.7
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#B22742
secondary
#6DC8B6
accent
#E7C741
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B22742

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

Preview Lab → · Contrast checker → · Palette generator →

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