#B22F5B#B22F5B

#B22F5B is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.169 H 5.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B22F5B
RGBrgb(178, 47, 91)
HSLhsl(340, 58%, 44%)
HSVhsv(340, 74%, 70%)
CMYKcmyk(0%, 73.6%, 48.9%, 30.2%)
CIE-LABlab(41.62, 55.18, 5.80)
CIE-LCHlch(41.62, 55.49, 6.00°)
OKLaboklab(51.87% 0.1686 0.0153)
OKLCHoklch(51.87% 0.169 5.2)
XYZxyz(21.2667, 12.2562, 11.1413)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F5B #2FB286
analogous
#B22F9D #B22F5B #B2442F
triadic
#B22F5B #5BB22F #2F5BB2
tetradic
#B22F5B #9DB22F #2FB286 #442FB2
square
#B22F5B #9DB22F #2FB286 #442FB2
split-complementary
#B22F5B #2FB244 #2F9DB2
monochromatic
#511529 #822242 #B22F5B #D04E7A #DD7E9E

Accessibility & contrast

On white

6.09
#B22F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B22F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F5B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F5B#FFFFFF#000000##FFFFFF
##B22F5B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525C
Deuteranopia (green-blind)
#716C58
Tritanopia (blue-blind)
#C21441
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22f5b;
/* rgb */ color: rgb(178, 47, 91);
/* oklch */ color: oklch(51.9% 0.169 5.2);
Tailwind
colors: {
  custom: {
    50: '#cf7389',
    500: '#b22f5b',
    950: '#000000',
  },
}
SCSS
$custom: #b22f5b;
$custom-light: #cf7389;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f5b",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 339.847,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.16932,
    "h": 5.2
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#B22F5B
secondary
#77C6AB
accent
#E1AD46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B22F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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