#B22A7D#B22A7D

#B22A7D is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.188 H 348.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B22A7D
RGBrgb(178, 42, 125)
HSLhsl(323, 62%, 43%)
HSVhsv(323, 76%, 70%)
CMYKcmyk(0%, 76.4%, 29.8%, 30.2%)
CIE-LABlab(42.16, 60.39, -14.59)
CIE-LCHlch(42.16, 62.13, 346.42°)
OKLaboklab(52.63% 0.1842 -0.0384)
OKLCHoklch(52.63% 0.188 348.2)
XYZxyz(22.8909, 12.6042, 20.6254)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A7D #2AB25F
analogous
#A32AB2 #B22A7D #B22A39
triadic
#B22A7D #7DB22A #2A7DB2
tetradic
#B22A7D #B2A32A #2AB25F #2A39B2
square
#B22A7D #B2A32A #2AB25F #2A39B2
split-complementary
#B22A7D #39B22A #2AB2A3
monochromatic
#4F1337 #801E5A #B22A7D #D3469C #DF77B7

Accessibility & contrast

On white

5.97
#B22A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B22A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A7D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A7D#FFFFFF#000000##FFFFFF
##B22A7D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#676C7A
Tritanopia (blue-blind)
#BF2350
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22a7d;
/* rgb */ color: rgb(178, 42, 125);
/* oklch */ color: oklch(52.6% 0.188 348.2);
Tailwind
colors: {
  custom: {
    50: '#cd71a2',
    500: '#b22a7d',
    950: '#000000',
  },
}
SCSS
$custom: #b22a7d;
$custom-light: #cd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a7d",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 323.382,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.18818,
    "h": 348.2
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#B22A7D
secondary
#71C792
accent
#E58243
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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