#B22F72#B22F72

#B22F72 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.177 H 353.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B22F72
RGBrgb(178, 47, 114)
HSLhsl(329, 58%, 44%)
HSVhsv(329, 74%, 70%)
CMYKcmyk(0%, 73.6%, 36%, 30.2%)
CIE-LABlab(42.33, 57.49, -7.52)
CIE-LCHlch(42.33, 57.98, 352.54°)
OKLaboklab(52.62% 0.1763 -0.0192)
OKLCHoklch(52.62% 0.177 353.8)
XYZxyz(22.4153, 12.7156, 17.1903)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F72 #2FB26F
analogous
#B12FB2 #B22F72 #B22F31
triadic
#B22F72 #72B22F #2F72B2
tetradic
#B22F72 #B2B12F #2FB26F #2F31B2
square
#B22F72 #B2B12F #2FB26F #2F31B2
split-complementary
#B22F72 #31B22F #2FB2B1
monochromatic
#511534 #822253 #B22F72 #D04E91 #DD7EAF

Accessibility & contrast

On white

5.93
#B22F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B22F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F72
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F72#FFFFFF#000000##FFFFFF
##B22F721.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475574
Deuteranopia (green-blind)
#6C6D6F
Tritanopia (blue-blind)
#C0224C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22f72;
/* rgb */ color: rgb(178, 47, 114);
/* oklch */ color: oklch(52.6% 0.177 353.8);
Tailwind
colors: {
  custom: {
    50: '#ce739a',
    500: '#b22f72',
    950: '#000000',
  },
}
SCSS
$custom: #b22f72;
$custom-light: #ce739a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f72",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 329.313,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52624,
    "c": 0.17729,
    "h": 353.8
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#B22F72
secondary
#77C69D
accent
#E19246
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22F72

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

Preview Lab → · Contrast checker → · Palette generator →

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