#B22958#B22958

#B22958 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.175 H 5.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B22958
RGBrgb(178, 41, 88)
HSLhsl(339, 63%, 43%)
HSVhsv(339, 77%, 70%)
CMYKcmyk(0%, 77%, 50.6%, 30.2%)
CIE-LABlab(40.83, 56.91, 6.56)
CIE-LCHlch(40.83, 57.29, 6.58°)
OKLaboklab(51.26% 0.1739 0.0172)
OKLCHoklch(51.26% 0.175 5.6)
XYZxyz(20.9163, 11.7583, 10.3988)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22958 #29B283
analogous
#B2299C #B22958 #B23E29
triadic
#B22958 #58B229 #2958B2
tetradic
#B22958 #9CB229 #29B283 #3E29B2
square
#B22958 #9CB229 #29B283 #3E29B2
split-complementary
#B22958 #29B23E #299CB2
monochromatic
#4F1227 #801E3F #B22958 #D44476 #DF769A

Accessibility & contrast

On white

6.27
#B22958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B22958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22958
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22958#FFFFFF#000000##FFFFFF
##B229581.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#C2003D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22958;
/* rgb */ color: rgb(178, 41, 88);
/* oklch */ color: oklch(51.3% 0.175 5.6);
Tailwind
colors: {
  custom: {
    50: '#cf7086',
    500: '#b22958',
    950: '#000000',
  },
}
SCSS
$custom: #b22958;
$custom-light: #cf7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b22958",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 339.416,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.17477,
    "h": 5.6
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#B22958
secondary
#70C7A9
accent
#E6AE42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22958

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

Preview Lab → · Contrast checker → · Palette generator →

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