#B22F8B#B22F8B

#B22F8B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.191 H 342.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B22F8B
RGBrgb(178, 47, 139)
HSLhsl(318, 58%, 44%)
HSVhsv(318, 74%, 70%)
CMYKcmyk(0%, 73.6%, 21.9%, 30.2%)
CIE-LABlab(43.31, 60.56, -21.40)
CIE-LCHlch(43.31, 64.23, 340.54°)
OKLaboklab(53.65% 0.1821 -0.0574)
OKLCHoklch(53.65% 0.191 342.5)
XYZxyz(24.0376, 13.3646, 25.7348)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F8B #2FB256
analogous
#982FB2 #B22F8B #B22F49
triadic
#B22F8B #8BB22F #2F8BB2
tetradic
#B22F8B #B2982F #2FB256 #2F49B2
square
#B22F8B #B2982F #2FB256 #2F49B2
split-complementary
#B22F8B #49B22F #2FB298
monochromatic
#51153F #822265 #B22F8B #D04EA9 #DD7EC1

Accessibility & contrast

On white

5.72
#B22F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B22F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F8B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F8B#FFFFFF#000000##FFFFFF
##B22F8B1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598E
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#BD3059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22f8b;
/* rgb */ color: rgb(178, 47, 139);
/* oklch */ color: oklch(53.7% 0.191 342.5);
Tailwind
colors: {
  custom: {
    50: '#cd74ad',
    500: '#b22f8b',
    950: '#000000',
  },
}
SCSS
$custom: #b22f8b;
$custom-light: #cd74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f8b",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 317.863,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.19088,
    "h": 342.5
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#B22F8B
secondary
#77C68E
accent
#E17546
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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