#B22F8F#B22F8F

#B22F8F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.193 H 340.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B22F8F
RGBrgb(178, 47, 143)
HSLhsl(316, 58%, 44%)
HSVhsv(316, 74%, 70%)
CMYKcmyk(0%, 73.6%, 19.7%, 30.2%)
CIE-LABlab(43.48, 61.10, -23.56)
CIE-LCHlch(43.48, 65.49, 338.91°)
OKLaboklab(53.84% 0.1827 -0.0635)
OKLCHoklch(53.84% 0.193 340.8)
XYZxyz(24.3353, 13.4836, 27.3023)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F8F #2FB252
analogous
#942FB2 #B22F8F #B22F4D
triadic
#B22F8F #8FB22F #2F8FB2
tetradic
#B22F8F #B2942F #2FB252 #2F4DB2
square
#B22F8F #B2942F #2FB252 #2F4DB2
split-complementary
#B22F8F #4DB22F #2FB294
monochromatic
#511541 #822268 #B22F8F #D04EAD #DD7EC4

Accessibility & contrast

On white

5.68
#B22F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B22F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F8F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F8F#FFFFFF#000000##FFFFFF
##B22F8F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395992
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#BD325B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22f8f;
/* rgb */ color: rgb(178, 47, 143);
/* oklch */ color: oklch(53.8% 0.193 340.8);
Tailwind
colors: {
  custom: {
    50: '#cd74b0',
    500: '#b22f8f',
    950: '#000000',
  },
}
SCSS
$custom: #b22f8f;
$custom-light: #cd74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f8f",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 316.031,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.19342,
    "h": 340.8
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#B22F8F
secondary
#77C68C
accent
#E17046
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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