#B22A63#B22A63

#B22A63 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.177 H 0.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B22A63
RGBrgb(178, 42, 99)
HSLhsl(335, 62%, 43%)
HSVhsv(335, 76%, 70%)
CMYKcmyk(0%, 76.4%, 44.4%, 30.2%)
CIE-LABlab(41.26, 57.59, 0.25)
CIE-LCHlch(41.26, 57.59, 0.25°)
OKLaboklab(51.67% 0.1768 0.0013)
OKLCHoklch(51.67% 0.177 0.4)
XYZxyz(21.4419, 12.0246, 12.9938)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A63 #2AB279
analogous
#B22AA7 #B22A63 #B2352A
triadic
#B22A63 #63B22A #2A63B2
tetradic
#B22A63 #A7B22A #2AB279 #352AB2
square
#B22A63 #A7B22A #2AB279 #352AB2
split-complementary
#B22A63 #2AB235 #2AA7B2
monochromatic
#4F132C #801E47 #B22A63 #D34681 #DF77A3

Accessibility & contrast

On white

6.17
#B22A63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B22A63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A63
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A63#FFFFFF#000000##FFFFFF
##B22A631.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495164
Deuteranopia (green-blind)
#6E6B60
Tritanopia (blue-blind)
#C11043
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22a63;
/* rgb */ color: rgb(178, 42, 99);
/* oklch */ color: oklch(51.7% 0.177 0.4);
Tailwind
colors: {
  custom: {
    50: '#ce718f',
    500: '#b22a63',
    950: '#000000',
  },
}
SCSS
$custom: #b22a63;
$custom-light: #ce718f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a63",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 334.853,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.17681,
    "h": 0.4
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#B22A63
secondary
#71C7A3
accent
#E5A143
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B22A63

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

Preview Lab → · Contrast checker → · Palette generator →

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