#B22A7B#B22A7B

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

Color values

HEX#B22A7B
RGBrgb(178, 42, 123)
HSLhsl(324, 62%, 43%)
HSVhsv(324, 76%, 70%)
CMYKcmyk(0%, 76.4%, 30.9%, 30.2%)
CIE-LABlab(42.08, 60.15, -13.47)
CIE-LCHlch(42.08, 61.64, 347.38°)
OKLaboklab(52.55% 0.1838 -0.0353)
OKLCHoklch(52.55% 0.187 349.1)
XYZxyz(22.7644, 12.5536, 19.9593)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A7B #2AB261
analogous
#A52AB2 #B22A7B #B22A37
triadic
#B22A7B #7BB22A #2A7BB2
tetradic
#B22A7B #B2A52A #2AB261 #2A37B2
square
#B22A7B #B2A52A #2AB261 #2A37B2
split-complementary
#B22A7B #37B22A #2AB2A5
monochromatic
#4F1337 #801E59 #B22A7B #D3469A #DF77B5

Accessibility & contrast

On white

5.98
#B22A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22A7B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A7B#FFFFFF#000000##FFFFFF
##B22A7B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#BF224F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22a7b;
/* rgb */ color: rgb(178, 42, 123);
/* oklch */ color: oklch(52.5% 0.187 349.1);
Tailwind
colors: {
  custom: {
    50: '#ce71a1',
    500: '#b22a7b',
    950: '#000000',
  },
}
SCSS
$custom: #b22a7b;
$custom-light: #ce71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a7b",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 324.265,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.18712,
    "h": 349.1
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#B22A7B
secondary
#71C794
accent
#E58443
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B22A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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