#B22F52#B22F52

#B22F52 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.168 H 9.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B22F52
RGBrgb(178, 47, 82)
HSLhsl(344, 58%, 44%)
HSVhsv(344, 74%, 70%)
CMYKcmyk(0%, 73.6%, 53.9%, 30.2%)
CIE-LABlab(41.39, 54.42, 11.13)
CIE-LCHlch(41.39, 55.55, 11.56°)
OKLaboklab(51.62% 0.1652 0.0283)
OKLCHoklch(51.62% 0.168 9.7)
XYZxyz(20.9015, 12.1101, 9.2179)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F52 #2FB28F
analogous
#B22F94 #B22F52 #B24D2F
triadic
#B22F52 #52B22F #2F52B2
tetradic
#B22F52 #94B22F #2FB28F #4D2FB2
square
#B22F52 #94B22F #2FB28F #4D2FB2
split-complementary
#B22F52 #2FB24D #2F94B2
monochromatic
#511525 #82223C #B22F52 #D04E71 #DD7E98

Accessibility & contrast

On white

6.14
#B22F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B22F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F52
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F52#FFFFFF#000000##FFFFFF
##B22F521.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505153
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#C20D3D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22f52;
/* rgb */ color: rgb(178, 47, 82);
/* oklch */ color: oklch(51.6% 0.168 9.7);
Tailwind
colors: {
  custom: {
    50: '#cf7282',
    500: '#b22f52',
    950: '#000000',
  },
}
SCSS
$custom: #b22f52;
$custom-light: #cf7282;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f52",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 343.969,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.16762,
    "h": 9.7
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#B22F52
secondary
#77C6B1
accent
#E1B846
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B22F52

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

Preview Lab → · Contrast checker → · Palette generator →

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