#B22854#B22854

#B22854 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.175 H 7.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B22854
RGBrgb(178, 40, 84)
HSLhsl(341, 63%, 43%)
HSVhsv(341, 78%, 70%)
CMYKcmyk(0%, 77.5%, 52.8%, 30.2%)
CIE-LABlab(40.61, 56.90, 8.79)
CIE-LCHlch(40.61, 57.57, 8.78°)
OKLaboklab(51.07% 0.1734 0.0226)
OKLCHoklch(51.07% 0.175 7.4)
XYZxyz(20.7210, 11.6256, 9.5386)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22854 #28B286
analogous
#B22899 #B22854 #B24128
triadic
#B22854 #54B228 #2854B2
tetradic
#B22854 #99B228 #28B286 #4128B2
square
#B22854 #99B228 #28B286 #4128B2
split-complementary
#B22854 #28B241 #2899B2
monochromatic
#4E1225 #801D3C #B22854 #D54371 #E07597

Accessibility & contrast

On white

6.32
#B22854 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B22854 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22854
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22854#FFFFFF#000000##FFFFFF
##B228541.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22854;
/* rgb */ color: rgb(178, 40, 84);
/* oklch */ color: oklch(51.1% 0.175 7.4);
Tailwind
colors: {
  custom: {
    50: '#cf6f83',
    500: '#b22854',
    950: '#000000',
  },
}
SCSS
$custom: #b22854;
$custom-light: #cf6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#b22854",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 84
  },
  "hsl": {
    "h": 340.87,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.1749,
    "h": 7.4
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#B22854
secondary
#6FC7AB
accent
#E6B241
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22854

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

Preview Lab → · Contrast checker → · Palette generator →

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