#B22E5F#B22E5F

#B22E5F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.171 H 3.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B22E5F
RGBrgb(178, 46, 95)
HSLhsl(338, 59%, 44%)
HSVhsv(338, 74%, 70%)
CMYKcmyk(0%, 74.2%, 46.6%, 30.2%)
CIE-LABlab(41.61, 55.89, 3.27)
CIE-LCHlch(41.61, 55.99, 3.35°)
OKLaboklab(51.9% 0.1712 0.009)
OKLCHoklch(51.9% 0.171 3)
XYZxyz(21.4044, 12.2480, 12.0612)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E5F #2EB281
analogous
#B22EA1 #B22E5F #B23F2E
triadic
#B22E5F #5FB22E #2E5FB2
tetradic
#B22E5F #A1B22E #2EB281 #3F2EB2
square
#B22E5F #A1B22E #2EB281 #3F2EB2
split-complementary
#B22E5F #2EB23F #2EA1B2
monochromatic
#51152B #812145 #B22E5F #D14C7E #DD7DA1

Accessibility & contrast

On white

6.09
#B22E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B22E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E5F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E5F#FFFFFF#000000##FFFFFF
##B22E5F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5260
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#C21543
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22e5f;
/* rgb */ color: rgb(178, 46, 95);
/* oklch */ color: oklch(51.9% 0.171 3.0);
Tailwind
colors: {
  custom: {
    50: '#cf728c',
    500: '#b22e5f',
    950: '#000000',
  },
}
SCSS
$custom: #b22e5f;
$custom-light: #cf728c;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e5f",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 337.727,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.17142,
    "h": 3
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#B22E5F
secondary
#76C6A8
accent
#E2A846
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B22E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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