#B22754#B22754

#B22754 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.176 H 7.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B22754
RGBrgb(178, 39, 84)
HSLhsl(341, 64%, 43%)
HSVhsv(341, 78%, 70%)
CMYKcmyk(0%, 78.1%, 52.8%, 30.2%)
CIE-LABlab(40.51, 57.20, 8.63)
CIE-LCHlch(40.51, 57.85, 8.58°)
OKLaboklab(50.99% 0.1744 0.0223)
OKLCHoklch(50.99% 0.176 7.3)
XYZxyz(20.6878, 11.5590, 9.5275)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22754 #27B285
analogous
#B22799 #B22754 #B24027
triadic
#B22754 #54B227 #2754B2
tetradic
#B22754 #99B227 #27B285 #4027B2
square
#B22754 #99B227 #27B285 #4027B2
split-complementary
#B22754 #27B240 #2799B2
monochromatic
#4E1125 #801C3C #B22754 #D54171 #E07396

Accessibility & contrast

On white

6.34
#B22754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B22754 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22754
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22754#FFFFFF#000000##FFFFFF
##B227541.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E55
Deuteranopia (green-blind)
#706951
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22754;
/* rgb */ color: rgb(178, 39, 84);
/* oklch */ color: oklch(51.0% 0.176 7.3);
Tailwind
colors: {
  custom: {
    50: '#cf6f83',
    500: '#b22754',
    950: '#000000',
  },
}
SCSS
$custom: #b22754;
$custom-light: #cf6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#b22754",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 340.576,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.17582,
    "h": 7.3
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#B22754
secondary
#6DC8AA
accent
#E7B141
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22754

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

Preview Lab → · Contrast checker → · Palette generator →

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