#B22F7B#B22F7B

#B22F7B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.182 H 349.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B22F7B
RGBrgb(178, 47, 123)
HSLhsl(325, 58%, 44%)
HSVhsv(325, 74%, 70%)
CMYKcmyk(0%, 73.6%, 30.9%, 30.2%)
CIE-LABlab(42.66, 58.53, -12.60)
CIE-LCHlch(42.66, 59.87, 347.85°)
OKLaboklab(52.97% 0.1787 -0.0329)
OKLCHoklch(52.97% 0.182 349.6)
XYZxyz(22.9530, 12.9307, 20.0222)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F7B #2FB266
analogous
#A82FB2 #B22F7B #B22F3A
triadic
#B22F7B #7BB22F #2F7BB2
tetradic
#B22F7B #B2A82F #2FB266 #2F3AB2
square
#B22F7B #B2A82F #2FB266 #2F3AB2
split-complementary
#B22F7B #3AB22F #2FB2A8
monochromatic
#511538 #82225A #B22F7B #D04E9A #DD7EB5

Accessibility & contrast

On white

5.86
#B22F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B22F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F7B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F7B#FFFFFF#000000##FFFFFF
##B22F7B1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#6A6D78
Tritanopia (blue-blind)
#BF2851
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22f7b;
/* rgb */ color: rgb(178, 47, 123);
/* oklch */ color: oklch(53.0% 0.182 349.6);
Tailwind
colors: {
  custom: {
    50: '#cd73a1',
    500: '#b22f7b',
    950: '#000000',
  },
}
SCSS
$custom: #b22f7b;
$custom-light: #cd73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f7b",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 325.191,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.18167,
    "h": 349.6
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#B22F7B
secondary
#77C698
accent
#E18746
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B22F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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