#B22F78#B22F78

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

Color values

HEX#B22F78
RGBrgb(178, 47, 120)
HSLhsl(327, 58%, 44%)
HSVhsv(327, 74%, 70%)
CMYKcmyk(0%, 73.6%, 32.6%, 30.2%)
CIE-LABlab(42.55, 58.17, -10.91)
CIE-LCHlch(42.55, 59.19, 349.37°)
OKLaboklab(52.85% 0.1779 -0.0283)
OKLCHoklch(52.85% 0.18 350.9)
XYZxyz(22.7680, 12.8567, 19.0482)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F78 #2FB269
analogous
#AB2FB2 #B22F78 #B22F37
triadic
#B22F78 #78B22F #2F78B2
tetradic
#B22F78 #B2AB2F #2FB269 #2F37B2
square
#B22F78 #B2AB2F #2FB269 #2F37B2
split-complementary
#B22F78 #37B22F #2FB2AB
monochromatic
#511537 #822257 #B22F78 #D04E97 #DD7EB3

Accessibility & contrast

On white

5.88
#B22F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B22F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F78
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F78#FFFFFF#000000##FFFFFF
##B22F781.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567A
Deuteranopia (green-blind)
#6A6D75
Tritanopia (blue-blind)
#BF264F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22f78;
/* rgb */ color: rgb(178, 47, 120);
/* oklch */ color: oklch(52.9% 0.180 350.9);
Tailwind
colors: {
  custom: {
    50: '#cd739f',
    500: '#b22f78',
    950: '#000000',
  },
}
SCSS
$custom: #b22f78;
$custom-light: #cd739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f78",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 326.565,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.18014,
    "h": 350.9
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#B22F78
secondary
#77C69A
accent
#E18B46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22F78

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

Preview Lab → · Contrast checker → · Palette generator →

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