#B22B58#B22B58

#B22B58 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.173 H 6.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B22B58
RGBrgb(178, 43, 88)
HSLhsl(340, 61%, 43%)
HSVhsv(340, 76%, 70%)
CMYKcmyk(0%, 75.8%, 50.6%, 30.2%)
CIE-LABlab(41.06, 56.27, 6.89)
CIE-LCHlch(41.06, 56.69, 6.98°)
OKLaboklab(51.43% 0.1719 0.018)
OKLCHoklch(51.43% 0.173 6)
XYZxyz(20.9873, 11.9002, 10.4225)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B58 #2BB285
analogous
#B22B9B #B22B58 #B2412B
triadic
#B22B58 #58B22B #2B58B2
tetradic
#B22B58 #9BB22B #2BB285 #412BB2
square
#B22B58 #9BB22B #2BB285 #412BB2
split-complementary
#B22B58 #2BB241 #2B9BB2
monochromatic
#4F1327 #811F40 #B22B58 #D34876 #DF799B

Accessibility & contrast

On white

6.21
#B22B58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B22B58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B58
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B58#FFFFFF#000000##FFFFFF
##B22B581.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5059
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#C2073E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22b58;
/* rgb */ color: rgb(178, 43, 88);
/* oklch */ color: oklch(51.4% 0.173 6.0);
Tailwind
colors: {
  custom: {
    50: '#cf7186',
    500: '#b22b58',
    950: '#000000',
  },
}
SCSS
$custom: #b22b58;
$custom-light: #cf7186;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b58",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 340,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.1728,
    "h": 6
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#B22B58
secondary
#72C7AA
accent
#E4AF44
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22B58

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

Preview Lab → · Contrast checker → · Palette generator →

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