#B22F81#B22F81

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

Color values

HEX#B22F81
RGBrgb(178, 47, 129)
HSLhsl(322, 58%, 44%)
HSVhsv(322, 74%, 70%)
CMYKcmyk(0%, 73.6%, 27.5%, 30.2%)
CIE-LABlab(42.89, 59.26, -15.93)
CIE-LCHlch(42.89, 61.37, 344.95°)
OKLaboklab(53.22% 0.1801 -0.0421)
OKLCHoklch(53.22% 0.185 346.8)
XYZxyz(23.3401, 13.0855, 22.0612)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F81 #2FB260
analogous
#A22FB2 #B22F81 #B22F40
triadic
#B22F81 #81B22F #2F81B2
tetradic
#B22F81 #B2A22F #2FB260 #2F40B2
square
#B22F81 #B2A22F #2FB260 #2F40B2
split-complementary
#B22F81 #40B22F #2FB2A2
monochromatic
#51153B #82225E #B22F81 #D04EA0 #DD7EBA

Accessibility & contrast

On white

5.81
#B22F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22F81
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F81#FFFFFF#000000##FFFFFF
##B22F811.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22f81;
/* rgb */ color: rgb(178, 47, 129);
/* oklch */ color: oklch(53.2% 0.185 346.8);
Tailwind
colors: {
  custom: {
    50: '#cd74a5',
    500: '#b22f81',
    950: '#000000',
  },
}
SCSS
$custom: #b22f81;
$custom-light: #cd74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f81",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 322.443,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53217,
    "c": 0.18493,
    "h": 346.8
  },
  "luminance": 0.13083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22F81

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

Preview Lab → · Contrast checker → · Palette generator →

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