#B22F7A#B22F7A

#B22F7A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.181 H 350.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B22F7A
RGBrgb(178, 47, 122)
HSLhsl(326, 58%, 44%)
HSVhsv(326, 74%, 70%)
CMYKcmyk(0%, 73.6%, 31.5%, 30.2%)
CIE-LABlab(42.62, 58.41, -12.04)
CIE-LCHlch(42.62, 59.63, 348.36°)
OKLaboklab(52.93% 0.1784 -0.0314)
OKLCHoklch(52.93% 0.181 350)
XYZxyz(22.8907, 12.9058, 19.6942)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F7A #2FB267
analogous
#A92FB2 #B22F7A #B22F39
triadic
#B22F7A #7AB22F #2F7AB2
tetradic
#B22F7A #B2A92F #2FB267 #2F39B2
square
#B22F7A #B2A92F #2FB267 #2F39B2
split-complementary
#B22F7A #39B22F #2FB2A9
monochromatic
#511538 #822259 #B22F7A #D04E99 #DD7EB5

Accessibility & contrast

On white

5.86
#B22F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B22F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F7A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F7A#FFFFFF#000000##FFFFFF
##B22F7A1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567C
Deuteranopia (green-blind)
#6A6D77
Tritanopia (blue-blind)
#BF2750
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22f7a;
/* rgb */ color: rgb(178, 47, 122);
/* oklch */ color: oklch(52.9% 0.181 350.0);
Tailwind
colors: {
  custom: {
    50: '#cd73a0',
    500: '#b22f7a',
    950: '#000000',
  },
}
SCSS
$custom: #b22f7a;
$custom-light: #cd73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f7a",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 325.649,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.18115,
    "h": 350
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

primary
#B22F7A
secondary
#77C699
accent
#E18946
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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