#B22148#B22148

#B22148 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.179 H 12.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B22148
RGBrgb(178, 33, 72)
HSLhsl(344, 69%, 41%)
HSVhsv(344, 81%, 70%)
CMYKcmyk(0%, 81.5%, 59.6%, 30.2%)
CIE-LABlab(39.62, 58.03, 15.02)
CIE-LCHlch(39.62, 59.94, 14.51°)
OKLaboklab(50.24% 0.1753 0.0372)
OKLCHoklch(50.24% 0.179 12)
XYZxyz(20.0757, 11.0236, 7.2003)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22148 #21B28B
analogous
#B22191 #B22148 #B24321
triadic
#B22148 #48B221 #2148B2
tetradic
#B22148 #91B221 #21B28B #4321B2
square
#B22148 #91B221 #21B28B #4321B2
split-complementary
#B22148 #21B243 #2191B2
monochromatic
#4B0E1E #7E1733 #B22148 #DA3662 #E36A8B

Accessibility & contrast

On white

6.55
#B22148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B22148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22148
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22148#FFFFFF#000000##FFFFFF
##B221481.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22148;
/* rgb */ color: rgb(178, 33, 72);
/* oklch */ color: oklch(50.2% 0.179 12.0);
Tailwind
colors: {
  custom: {
    50: '#d06c7a',
    500: '#b22148',
    950: '#000000',
  },
}
SCSS
$custom: #b22148;
$custom-light: #d06c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22148",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 343.862,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.17918,
    "h": 12
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#B22148
secondary
#66C9AE
accent
#ECBC3C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B22148

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

Preview Lab → · Contrast checker → · Palette generator →

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