#B22B7F#B22B7F

#B22B7F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.188 H 347.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B22B7F
RGBrgb(178, 43, 127)
HSLhsl(323, 61%, 43%)
HSVhsv(323, 76%, 70%)
CMYKcmyk(0%, 75.8%, 28.7%, 30.2%)
CIE-LABlab(42.35, 60.32, -15.53)
CIE-LCHlch(42.35, 62.29, 345.56°)
OKLaboklab(52.8% 0.1837 -0.041)
OKLCHoklch(52.8% 0.188 347.4)
XYZxyz(23.0559, 12.7276, 21.3171)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B7F #2BB25E
analogous
#A12BB2 #B22B7F #B22B3B
triadic
#B22B7F #7FB22B #2B7FB2
tetradic
#B22B7F #B2A12B #2BB25E #2B3BB2
square
#B22B7F #B2A12B #2BB25E #2B3BB2
split-complementary
#B22B7F #3BB22B #2BB2A1
monochromatic
#4F1339 #811F5C #B22B7F #D3489E #DF79B8

Accessibility & contrast

On white

5.92
#B22B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B22B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B7F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B7F#FFFFFF#000000##FFFFFF
##B22B7F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#676C7C
Tritanopia (blue-blind)
#BF2551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22b7f;
/* rgb */ color: rgb(178, 43, 127);
/* oklch */ color: oklch(52.8% 0.188 347.4);
Tailwind
colors: {
  custom: {
    50: '#cd72a4',
    500: '#b22b7f',
    950: '#000000',
  },
}
SCSS
$custom: #b22b7f;
$custom-light: #cd72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b7f",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 322.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.18821,
    "h": 347.4
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#B22B7F
secondary
#72C792
accent
#E48044
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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