#B22A6F#B22A6F

#B22A6F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.181 H 354.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B22A6F
RGBrgb(178, 42, 111)
HSLhsl(330, 62%, 43%)
HSVhsv(330, 76%, 70%)
CMYKcmyk(0%, 76.4%, 37.6%, 30.2%)
CIE-LABlab(41.64, 58.80, -6.68)
CIE-LCHlch(41.64, 59.18, 353.51°)
OKLaboklab(52.09% 0.1806 -0.0169)
OKLCHoklch(52.09% 0.181 354.7)
XYZxyz(22.0588, 12.2713, 16.2428)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A6F #2AB26D
analogous
#B12AB2 #B22A6F #B22A2B
triadic
#B22A6F #6FB22A #2A6FB2
tetradic
#B22A6F #B2B12A #2AB26D #2A2BB2
square
#B22A6F #B2B12A #2AB26D #2A2BB2
split-complementary
#B22A6F #2BB22A #2AB2B1
monochromatic
#4F1331 #801E50 #B22A6F #D3468E #DF77AC

Accessibility & contrast

On white

6.08
#B22A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22A6F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A6F#FFFFFF#000000##FFFFFF
##B22A6F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455271
Deuteranopia (green-blind)
#6B6B6C
Tritanopia (blue-blind)
#C01A49
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22a6f;
/* rgb */ color: rgb(178, 42, 111);
/* oklch */ color: oklch(52.1% 0.181 354.7);
Tailwind
colors: {
  custom: {
    50: '#ce7198',
    500: '#b22a6f',
    950: '#000000',
  },
}
SCSS
$custom: #b22a6f;
$custom-light: #ce7198;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a6f",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 329.559,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.18138,
    "h": 354.7
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#B22A6F
secondary
#71C79B
accent
#E59343
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B22A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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