#B22F82#B22F82

#B22F82 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.185 H 346.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B22F82
RGBrgb(178, 47, 130)
HSLhsl(322, 58%, 44%)
HSVhsv(322, 74%, 70%)
CMYKcmyk(0%, 73.6%, 27%, 30.2%)
CIE-LABlab(42.93, 59.39, -16.48)
CIE-LCHlch(42.93, 61.63, 344.49°)
OKLaboklab(53.26% 0.1803 -0.0436)
OKLCHoklch(53.26% 0.186 346.4)
XYZxyz(23.4069, 13.1123, 22.4130)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F82 #2FB25F
analogous
#A12FB2 #B22F82 #B22F41
triadic
#B22F82 #82B22F #2F82B2
tetradic
#B22F82 #B2A12F #2FB25F #2F41B2
square
#B22F82 #B2A12F #2FB25F #2F41B2
split-complementary
#B22F82 #41B22F #2FB2A1
monochromatic
#51153B #82225F #B22F82 #D04EA1 #DD7EBA

Accessibility & contrast

On white

5.80
#B22F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B22F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F82
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F82#FFFFFF#000000##FFFFFF
##B22F821.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#686D7F
Tritanopia (blue-blind)
#BE2B54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22f82;
/* rgb */ color: rgb(178, 47, 130);
/* oklch */ color: oklch(53.3% 0.185 346.4);
Tailwind
colors: {
  custom: {
    50: '#cd74a6',
    500: '#b22f82',
    950: '#000000',
  },
}
SCSS
$custom: #b22f82;
$custom-light: #cd74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f82",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 321.985,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.1855,
    "h": 346.4
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#B22F82
secondary
#77C694
accent
#E17F46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22F82

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

Preview Lab → · Contrast checker → · Palette generator →

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