#B22F88#B22F88

#B22F88 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.189 H 343.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B22F88
RGBrgb(178, 47, 136)
HSLhsl(319, 58%, 44%)
HSVhsv(319, 74%, 70%)
CMYKcmyk(0%, 73.6%, 23.6%, 30.2%)
CIE-LABlab(43.18, 60.16, -19.77)
CIE-LCHlch(43.18, 63.33, 341.81°)
OKLaboklab(53.52% 0.1815 -0.0528)
OKLCHoklch(53.52% 0.189 343.8)
XYZxyz(23.8215, 13.2781, 24.5962)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F88 #2FB259
analogous
#9B2FB2 #B22F88 #B22F46
triadic
#B22F88 #88B22F #2F88B2
tetradic
#B22F88 #B29B2F #2FB259 #2F46B2
square
#B22F88 #B29B2F #2FB259 #2F46B2
split-complementary
#B22F88 #46B22F #2FB29B
monochromatic
#51153E #822263 #B22F88 #D04EA6 #DD7EBF

Accessibility & contrast

On white

5.75
#B22F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B22F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F88
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F88#FFFFFF#000000##FFFFFF
##B22F881.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588A
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#BE2F58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22f88;
/* rgb */ color: rgb(178, 47, 136);
/* oklch */ color: oklch(53.5% 0.189 343.8);
Tailwind
colors: {
  custom: {
    50: '#cd74ab',
    500: '#b22f88',
    950: '#000000',
  },
}
SCSS
$custom: #b22f88;
$custom-light: #cd74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f88",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 319.237,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5352,
    "c": 0.18904,
    "h": 343.8
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#B22F88
secondary
#77C690
accent
#E17846
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22F88

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

Preview Lab → · Contrast checker → · Palette generator →

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