#B22A6D#B22A6D

#B22A6D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.181 H 355.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B22A6D
RGBrgb(178, 42, 109)
HSLhsl(330, 62%, 43%)
HSVhsv(330, 76%, 70%)
CMYKcmyk(0%, 76.4%, 38.8%, 30.2%)
CIE-LABlab(41.58, 58.59, -5.54)
CIE-LCHlch(41.58, 58.85, 354.60°)
OKLaboklab(52.01% 0.18 -0.0138)
OKLCHoklch(52.01% 0.181 355.6)
XYZxyz(21.9499, 12.2278, 15.6694)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A6D #2AB26F
analogous
#B22AB1 #B22A6D #B22B2A
triadic
#B22A6D #6DB22A #2A6DB2
tetradic
#B22A6D #B1B22A #2AB26F #2B2AB2
square
#B22A6D #B1B22A #2AB26F #2B2AB2
split-complementary
#B22A6D #2AB22B #2AB1B2
monochromatic
#4F1330 #801E4F #B22A6D #D3468C #DF77AA

Accessibility & contrast

On white

6.10
#B22A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22A6D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A6D#FFFFFF#000000##FFFFFF
##B22A6D1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526F
Deuteranopia (green-blind)
#6C6B6A
Tritanopia (blue-blind)
#C01848
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22a6d;
/* rgb */ color: rgb(178, 42, 109);
/* oklch */ color: oklch(52.0% 0.181 355.6);
Tailwind
colors: {
  custom: {
    50: '#ce7196',
    500: '#b22a6d',
    950: '#000000',
  },
}
SCSS
$custom: #b22a6d;
$custom-light: #ce7196;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a6d",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 330.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52014,
    "c": 0.18053,
    "h": 355.6
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#B22A6D
secondary
#71C79D
accent
#E59543
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B22A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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