#B22954#B22954

#B22954 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.174 H 7.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B22954
RGBrgb(178, 41, 84)
HSLhsl(341, 63%, 43%)
HSVhsv(341, 77%, 70%)
CMYKcmyk(0%, 77%, 52.8%, 30.2%)
CIE-LABlab(40.73, 56.59, 8.94)
CIE-LCHlch(40.73, 57.29, 8.98°)
OKLaboklab(51.15% 0.1724 0.023)
OKLCHoklch(51.15% 0.174 7.6)
XYZxyz(20.7552, 11.6939, 9.5500)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22954 #29B287
analogous
#B22998 #B22954 #B24329
triadic
#B22954 #54B229 #2954B2
tetradic
#B22954 #98B229 #29B287 #4329B2
square
#B22954 #98B229 #29B287 #4329B2
split-complementary
#B22954 #29B243 #2998B2
monochromatic
#4F1225 #801E3D #B22954 #D44471 #DF7697

Accessibility & contrast

On white

6.29
#B22954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B22954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22954
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22954#FFFFFF#000000##FFFFFF
##B229541.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F55
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22954;
/* rgb */ color: rgb(178, 41, 84);
/* oklch */ color: oklch(51.1% 0.174 7.6);
Tailwind
colors: {
  custom: {
    50: '#cf7083',
    500: '#b22954',
    950: '#000000',
  },
}
SCSS
$custom: #b22954;
$custom-light: #cf7083;
$custom-dark: #000000;
JSON
{
  "hex": "#b22954",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 341.168,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.17395,
    "h": 7.6
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#B22954
secondary
#70C7AC
accent
#E6B242
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22954

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

Preview Lab → · Contrast checker → · Palette generator →

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