#B22F45#B22F45

#B22F45 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.167 H 16.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B22F45
RGBrgb(178, 47, 69)
HSLhsl(350, 58%, 44%)
HSVhsv(350, 74%, 70%)
CMYKcmyk(0%, 73.6%, 61.2%, 30.2%)
CIE-LABlab(41.11, 53.48, 18.90)
CIE-LCHlch(41.11, 56.72, 19.46°)
OKLaboklab(51.32% 0.1601 0.0461)
OKLCHoklch(51.32% 0.167 16.1)
XYZxyz(20.4529, 11.9306, 6.8549)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F45 #2FB29C
analogous
#B22F87 #B22F45 #B25B2F
triadic
#B22F45 #45B22F #2F45B2
tetradic
#B22F45 #87B22F #2FB29C #5B2FB2
square
#B22F45 #87B22F #2FB29C #5B2FB2
split-complementary
#B22F45 #2FB25B #2F87B2
monochromatic
#51151F #822232 #B22F45 #D04E64 #DD7E8E

Accessibility & contrast

On white

6.20
#B22F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B22F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F45
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F45#FFFFFF#000000##FFFFFF
##B22F451.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535045
Deuteranopia (green-blind)
#746B41
Tritanopia (blue-blind)
#C30138
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22f45;
/* rgb */ color: rgb(178, 47, 69);
/* oklch */ color: oklch(51.3% 0.167 16.1);
Tailwind
colors: {
  custom: {
    50: '#d07278',
    500: '#b22f45',
    950: '#000000',
  },
}
SCSS
$custom: #b22f45;
$custom-light: #d07278;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f45",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 349.924,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.16657,
    "h": 16.1
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#B22F45
secondary
#77C6B9
accent
#E1C746
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #B22F45

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

Preview Lab → · Contrast checker → · Palette generator →

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