#B22A7A#B22A7A

#B22A7A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.187 H 349.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B22A7A
RGBrgb(178, 42, 122)
HSLhsl(325, 62%, 43%)
HSVhsv(325, 76%, 70%)
CMYKcmyk(0%, 76.4%, 31.5%, 30.2%)
CIE-LABlab(42.04, 60.04, -12.91)
CIE-LCHlch(42.04, 61.41, 347.86°)
OKLaboklab(52.51% 0.1835 -0.0337)
OKLCHoklch(52.51% 0.187 349.6)
XYZxyz(22.7022, 12.5287, 19.6313)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A7A #2AB262
analogous
#A62AB2 #B22A7A #B22A36
triadic
#B22A7A #7AB22A #2A7AB2
tetradic
#B22A7A #B2A62A #2AB262 #2A36B2
square
#B22A7A #B2A62A #2AB262 #2A36B2
split-complementary
#B22A7A #36B22A #2AB2A6
monochromatic
#4F1336 #801E58 #B22A7A #D34699 #DF77B4

Accessibility & contrast

On white

5.99
#B22A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B22A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A7A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A7A#FFFFFF#000000##FFFFFF
##B22A7A1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#686C77
Tritanopia (blue-blind)
#BF214F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22a7a;
/* rgb */ color: rgb(178, 42, 122);
/* oklch */ color: oklch(52.5% 0.187 349.6);
Tailwind
colors: {
  custom: {
    50: '#ce71a0',
    500: '#b22a7a',
    950: '#000000',
  },
}
SCSS
$custom: #b22a7a;
$custom-light: #ce71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a7a",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 324.706,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52509,
    "c": 0.1866,
    "h": 349.6
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#B22A7A
secondary
#71C794
accent
#E58643
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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