#B22F8A#B22F8A

#B22F8A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.190 H 342.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B22F8A
RGBrgb(178, 47, 138)
HSLhsl(318, 58%, 44%)
HSVhsv(318, 74%, 70%)
CMYKcmyk(0%, 73.6%, 22.5%, 30.2%)
CIE-LABlab(43.26, 60.42, -20.86)
CIE-LCHlch(43.26, 63.92, 340.95°)
OKLaboklab(53.61% 0.1819 -0.0559)
OKLCHoklch(53.61% 0.19 342.9)
XYZxyz(23.9649, 13.3355, 25.3517)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F8A #2FB257
analogous
#992FB2 #B22F8A #B22F48
triadic
#B22F8A #8AB22F #2F8AB2
tetradic
#B22F8A #B2992F #2FB257 #2F48B2
square
#B22F8A #B2992F #2FB257 #2F48B2
split-complementary
#B22F8A #48B22F #2FB299
monochromatic
#51153F #822264 #B22F8A #D04EA8 #DD7EC0

Accessibility & contrast

On white

5.73
#B22F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B22F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F8A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F8A#FFFFFF#000000##FFFFFF
##B22F8A1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#BD3059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22f8a;
/* rgb */ color: rgb(178, 47, 138);
/* oklch */ color: oklch(53.6% 0.190 342.9);
Tailwind
colors: {
  custom: {
    50: '#cd74ac',
    500: '#b22f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b22f8a;
$custom-light: #cd74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f8a",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 318.321,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.19026,
    "h": 342.9
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

primary
#B22F8A
secondary
#77C68F
accent
#E17646
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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