#B22F4D#B22F4D

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

Color values

HEX#B22F4D
RGBrgb(178, 47, 77)
HSLhsl(346, 58%, 44%)
HSVhsv(346, 74%, 70%)
CMYKcmyk(0%, 73.6%, 56.7%, 30.2%)
CIE-LABlab(41.27, 54.04, 14.11)
CIE-LCHlch(41.27, 55.85, 14.63°)
OKLaboklab(51.5% 0.1633 0.0353)
OKLCHoklch(51.5% 0.167 12.2)
XYZxyz(20.7181, 12.0368, 8.2521)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F4D #2FB294
analogous
#B22F8F #B22F4D #B2532F
triadic
#B22F4D #4DB22F #2F4DB2
tetradic
#B22F4D #8FB22F #2FB294 #532FB2
square
#B22F4D #8FB22F #2FB294 #532FB2
split-complementary
#B22F4D #2FB253 #2F8FB2
monochromatic
#511523 #822238 #B22F4D #D04E6C #DD7E94

Accessibility & contrast

On white

6.16
#B22F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22F4D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F4D#FFFFFF#000000##FFFFFF
##B22F4D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504D
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#C3083B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22f4d;
/* rgb */ color: rgb(178, 47, 77);
/* oklch */ color: oklch(51.5% 0.167 12.2);
Tailwind
colors: {
  custom: {
    50: '#cf727e',
    500: '#b22f4d',
    950: '#000000',
  },
}
SCSS
$custom: #b22f4d;
$custom-light: #cf727e;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f4d",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 346.26,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51499,
    "c": 0.16702,
    "h": 12.2
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#B22F4D
secondary
#77C6B4
accent
#E1BE46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B22F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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