#B22B5E#B22B5E

#B22B5E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.174 H 3.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B22B5E
RGBrgb(178, 43, 94)
HSLhsl(337, 61%, 43%)
HSVhsv(337, 76%, 70%)
CMYKcmyk(0%, 75.8%, 47.2%, 30.2%)
CIE-LABlab(41.22, 56.80, 3.34)
CIE-LCHlch(41.22, 56.90, 3.37°)
OKLaboklab(51.6% 0.174 0.0092)
OKLCHoklch(51.6% 0.174 3)
XYZxyz(21.2461, 12.0037, 11.7857)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B5E #2BB27F
analogous
#B22BA1 #B22B5E #B23B2B
triadic
#B22B5E #5EB22B #2B5EB2
tetradic
#B22B5E #A1B22B #2BB27F #3B2BB2
square
#B22B5E #A1B22B #2BB27F #3B2BB2
split-complementary
#B22B5E #2BB23B #2BA1B2
monochromatic
#4F132A #811F44 #B22B5E #D3487C #DF799F

Accessibility & contrast

On white

6.18
#B22B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B22B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B5E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B5E#FFFFFF#000000##FFFFFF
##B22B5E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505F
Deuteranopia (green-blind)
#6F6B5B
Tritanopia (blue-blind)
#C20D41
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22b5e;
/* rgb */ color: rgb(178, 43, 94);
/* oklch */ color: oklch(51.6% 0.174 3.0);
Tailwind
colors: {
  custom: {
    50: '#cf718b',
    500: '#b22b5e',
    950: '#000000',
  },
}
SCSS
$custom: #b22b5e;
$custom-light: #cf718b;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b5e",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 337.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.17428,
    "h": 3
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#B22B5E
secondary
#72C7A7
accent
#E4A844
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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