#B22B7D#B22B7D

#B22B7D is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.187 H 348.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B22B7D
RGBrgb(178, 43, 125)
HSLhsl(324, 61%, 43%)
HSVhsv(324, 76%, 70%)
CMYKcmyk(0%, 75.8%, 29.8%, 30.2%)
CIE-LABlab(42.27, 60.08, -14.42)
CIE-LCHlch(42.27, 61.78, 346.51°)
OKLaboklab(52.71% 0.1833 -0.0379)
OKLCHoklch(52.71% 0.187 348.3)
XYZxyz(22.9268, 12.6760, 20.6374)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B7D #2BB260
analogous
#A32BB2 #B22B7D #B22B39
triadic
#B22B7D #7DB22B #2B7DB2
tetradic
#B22B7D #B2A32B #2BB260 #2B39B2
square
#B22B7D #B2A32B #2BB260 #2B39B2
split-complementary
#B22B7D #39B22B #2BB2A3
monochromatic
#4F1338 #811F5A #B22B7D #D3489C #DF79B7

Accessibility & contrast

On white

5.94
#B22B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B22B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B7D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B7D#FFFFFF#000000##FFFFFF
##B22B7D1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#686C7A
Tritanopia (blue-blind)
#BF2450
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22b7d;
/* rgb */ color: rgb(178, 43, 125);
/* oklch */ color: oklch(52.7% 0.187 348.3);
Tailwind
colors: {
  custom: {
    50: '#cd72a2',
    500: '#b22b7d',
    950: '#000000',
  },
}
SCSS
$custom: #b22b7d;
$custom-light: #cd72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b7d",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 323.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.18713,
    "h": 348.3
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#B22B7D
secondary
#72C793
accent
#E48344
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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