#B22247#B22247

#B22247 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.178 H 12.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B22247
RGBrgb(178, 34, 71)
HSLhsl(345, 68%, 42%)
HSVhsv(345, 81%, 70%)
CMYKcmyk(0%, 80.9%, 60.1%, 30.2%)
CIE-LABlab(39.69, 57.69, 15.75)
CIE-LCHlch(39.69, 59.80, 15.27°)
OKLaboklab(50.29% 0.174 0.0389)
OKLCHoklch(50.29% 0.178 12.6)
XYZxyz(20.0715, 11.0670, 7.0393)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22247 #22B28D
analogous
#B2228F #B22247 #B24522
triadic
#B22247 #47B222 #2247B2
tetradic
#B22247 #8FB222 #22B28D #4522B2
square
#B22247 #8FB222 #22B28D #4522B2
split-complementary
#B22247 #22B245 #228FB2
monochromatic
#4B0E1E #7F1833 #B22247 #D93862 #E36C8A

Accessibility & contrast

On white

6.54
#B22247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B22247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22247
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22247#FFFFFF#000000##FFFFFF
##B222471.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B47
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22247;
/* rgb */ color: rgb(178, 34, 71);
/* oklch */ color: oklch(50.3% 0.178 12.6);
Tailwind
colors: {
  custom: {
    50: '#d06d79',
    500: '#b22247',
    950: '#000000',
  },
}
SCSS
$custom: #b22247;
$custom-light: #d06d79;
$custom-dark: #000000;
JSON
{
  "hex": "#b22247",
  "rgb": {
    "r": 178,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 344.583,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.1783,
    "h": 12.6
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

primary
#B22247
secondary
#67C9B0
accent
#EBBE3D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B22247

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

Preview Lab → · Contrast checker → · Palette generator →

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