#B22F79#B22F79

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

Color values

HEX#B22F79
RGBrgb(178, 47, 121)
HSLhsl(326, 58%, 44%)
HSVhsv(326, 74%, 70%)
CMYKcmyk(0%, 73.6%, 32%, 30.2%)
CIE-LABlab(42.58, 58.29, -11.48)
CIE-LCHlch(42.58, 59.41, 348.86°)
OKLaboklab(52.89% 0.1782 -0.0299)
OKLCHoklch(52.89% 0.181 350.5)
XYZxyz(22.8291, 12.8811, 19.3695)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F79 #2FB268
analogous
#AA2FB2 #B22F79 #B22F38
triadic
#B22F79 #79B22F #2F79B2
tetradic
#B22F79 #B2AA2F #2FB268 #2F38B2
square
#B22F79 #B2AA2F #2FB268 #2F38B2
split-complementary
#B22F79 #38B22F #2FB2AA
monochromatic
#511537 #822258 #B22F79 #D04E98 #DD7EB4

Accessibility & contrast

On white

5.87
#B22F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22F79
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F79#FFFFFF#000000##FFFFFF
##B22F791.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567B
Deuteranopia (green-blind)
#6A6D76
Tritanopia (blue-blind)
#BF2650
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22f79;
/* rgb */ color: rgb(178, 47, 121);
/* oklch */ color: oklch(52.9% 0.181 350.5);
Tailwind
colors: {
  custom: {
    50: '#cd739f',
    500: '#b22f79',
    950: '#000000',
  },
}
SCSS
$custom: #b22f79;
$custom-light: #cd739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f79",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 326.107,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.18065,
    "h": 350.5
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22F79

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

Preview Lab → · Contrast checker → · Palette generator →

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