#B22495#B22495

#B22495 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.208 H 338.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B22495
RGBrgb(178, 36, 149)
HSLhsl(312, 66%, 42%)
HSVhsv(312, 80%, 70%)
CMYKcmyk(0%, 79.8%, 16.3%, 30.2%)
CIE-LABlab(42.61, 65.21, -28.55)
CIE-LCHlch(42.61, 71.19, 336.35°)
OKLaboklab(53.3% 0.1934 -0.0776)
OKLCHoklch(53.3% 0.208 338.1)
XYZxyz(24.4164, 12.8991, 29.6318)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22495 #24B241
analogous
#8824B2 #B22495 #B2244E
triadic
#B22495 #95B224 #2495B2
tetradic
#B22495 #B28824 #24B241 #244EB2
square
#B22495 #B28824 #24B241 #244EB2
split-complementary
#B22495 #4EB224 #24B288
monochromatic
#4C0F40 #7F1A6A #B22495 #D83CB8 #E26FCA

Accessibility & contrast

On white

5.87
#B22495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B22495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22495
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22495#FFFFFF#000000##FFFFFF
##B224951.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#5D6C92
Tritanopia (blue-blind)
#BC2D5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22495;
/* rgb */ color: rgb(178, 36, 149);
/* oklch */ color: oklch(53.3% 0.208 338.1);
Tailwind
colors: {
  custom: {
    50: '#cd70b4',
    500: '#b22495',
    950: '#000000',
  },
}
SCSS
$custom: #b22495;
$custom-light: #cd70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22495",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 312.254,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.20839,
    "h": 338.1
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#B22495
secondary
#69C87D
accent
#E9613F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22495

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

Preview Lab → · Contrast checker → · Palette generator →

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