#B22F4F#B22F4F

#B22F4F is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.167 H 11.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B22F4F
RGBrgb(178, 47, 79)
HSLhsl(345, 58%, 44%)
HSVhsv(345, 74%, 70%)
CMYKcmyk(0%, 73.6%, 55.6%, 30.2%)
CIE-LABlab(41.32, 54.19, 12.92)
CIE-LCHlch(41.32, 55.71, 13.41°)
OKLaboklab(51.55% 0.164 0.0325)
OKLCHoklch(51.55% 0.167 11.2)
XYZxyz(20.7898, 12.0654, 8.6297)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F4F #2FB292
analogous
#B22F90 #B22F4F #B2512F
triadic
#B22F4F #4FB22F #2F4FB2
tetradic
#B22F4F #90B22F #2FB292 #512FB2
square
#B22F4F #90B22F #2FB292 #512FB2
split-complementary
#B22F4F #2FB251 #2F90B2
monochromatic
#511524 #82223A #B22F4F #D04E6E #DD7E95

Accessibility & contrast

On white

6.15
#B22F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B22F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F4F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F4F#FFFFFF#000000##FFFFFF
##B22F4F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504F
Deuteranopia (green-blind)
#736B4C
Tritanopia (blue-blind)
#C30A3C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22f4f;
/* rgb */ color: rgb(178, 47, 79);
/* oklch */ color: oklch(51.5% 0.167 11.2);
Tailwind
colors: {
  custom: {
    50: '#cf7280',
    500: '#b22f4f',
    950: '#000000',
  },
}
SCSS
$custom: #b22f4f;
$custom-light: #cf7280;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f4f",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 345.344,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51548,
    "c": 0.16723,
    "h": 11.2
  },
  "luminance": 0.12063
}

Semantic roles & 50–950 ramp

primary
#B22F4F
secondary
#77C6B3
accent
#E1BC46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B22F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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