#B22F57#B22F57

#B22F57 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.168 H 7.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B22F57
RGBrgb(178, 47, 87)
HSLhsl(342, 58%, 44%)
HSVhsv(342, 74%, 70%)
CMYKcmyk(0%, 73.6%, 51.1%, 30.2%)
CIE-LABlab(41.51, 54.84, 8.16)
CIE-LCHlch(41.51, 55.44, 8.47°)
OKLaboklab(51.76% 0.1671 0.0212)
OKLCHoklch(51.76% 0.168 7.2)
XYZxyz(21.0988, 12.1890, 10.2567)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F57 #2FB28A
analogous
#B22F99 #B22F57 #B2482F
triadic
#B22F57 #57B22F #2F57B2
tetradic
#B22F57 #99B22F #2FB28A #482FB2
square
#B22F57 #99B22F #2FB28A #482FB2
split-complementary
#B22F57 #2FB248 #2F99B2
monochromatic
#511528 #82223F #B22F57 #D04E76 #DD7E9B

Accessibility & contrast

On white

6.11
#B22F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B22F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F57
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F57#FFFFFF#000000##FFFFFF
##B22F571.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5158
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#C21140
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22f57;
/* rgb */ color: rgb(178, 47, 87);
/* oklch */ color: oklch(51.8% 0.168 7.2);
Tailwind
colors: {
  custom: {
    50: '#cf7286',
    500: '#b22f57',
    950: '#000000',
  },
}
SCSS
$custom: #b22f57;
$custom-light: #cf7286;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f57",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 341.679,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.16846,
    "h": 7.2
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#B22F57
secondary
#77C6AE
accent
#E1B246
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B22F57

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

Preview Lab → · Contrast checker → · Palette generator →

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