#B22255#B22255

#B22255 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.180 H 6.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B22255
RGBrgb(178, 34, 85)
HSLhsl(339, 68%, 42%)
HSVhsv(339, 81%, 70%)
CMYKcmyk(0%, 80.9%, 52.2%, 30.2%)
CIE-LABlab(40.03, 58.71, 7.33)
CIE-LCHlch(40.03, 59.17, 7.11°)
OKLaboklab(50.64% 0.1794 0.0191)
OKLCHoklch(50.64% 0.18 6.1)
XYZxyz(20.5737, 11.2679, 9.6841)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22255 #22B27F
analogous
#B2229D #B22255 #B23722
triadic
#B22255 #55B222 #2255B2
tetradic
#B22255 #9DB222 #22B27F #3722B2
square
#B22255 #9DB222 #22B27F #3722B2
split-complementary
#B22255 #22B237 #229DB2
monochromatic
#4B0E24 #7F183C #B22255 #D93871 #E36C96

Accessibility & contrast

On white

6.46
#B22255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B22255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22255
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22255#FFFFFF#000000##FFFFFF
##B222551.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C56
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#C20039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22255;
/* rgb */ color: rgb(178, 34, 85);
/* oklch */ color: oklch(50.6% 0.180 6.1);
Tailwind
colors: {
  custom: {
    50: '#cf6d84',
    500: '#b22255',
    950: '#000000',
  },
}
SCSS
$custom: #b22255;
$custom-light: #cf6d84;
$custom-dark: #000000;
JSON
{
  "hex": "#b22255",
  "rgb": {
    "r": 178,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 338.75,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.18041,
    "h": 6.1
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#B22255
secondary
#67C9A6
accent
#EBAD3D
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22255

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

Preview Lab → · Contrast checker → · Palette generator →

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