#B22995#B22995

#B22995 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.204 H 338.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B22995
RGBrgb(178, 41, 149)
HSLhsl(313, 63%, 43%)
HSVhsv(313, 77%, 70%)
CMYKcmyk(0%, 77%, 16.3%, 30.2%)
CIE-LABlab(43.10, 63.82, -27.79)
CIE-LCHlch(43.10, 69.61, 336.47°)
OKLaboklab(53.65% 0.1892 -0.0754)
OKLCHoklch(53.65% 0.204 338.3)
XYZxyz(24.5784, 13.2232, 29.6858)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22995 #29B246
analogous
#8B29B2 #B22995 #B22950
triadic
#B22995 #95B229 #2995B2
tetradic
#B22995 #B28B29 #29B246 #2950B2
square
#B22995 #B28B29 #29B246 #2950B2
split-complementary
#B22995 #50B229 #29B28B
monochromatic
#4F1242 #801E6B #B22995 #D444B6 #DF76C9

Accessibility & contrast

On white

5.76
#B22995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B22995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22995
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22995#FFFFFF#000000##FFFFFF
##B229951.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#5F6D92
Tritanopia (blue-blind)
#BC305D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22995;
/* rgb */ color: rgb(178, 41, 149);
/* oklch */ color: oklch(53.7% 0.204 338.3);
Tailwind
colors: {
  custom: {
    50: '#cd72b4',
    500: '#b22995',
    950: '#000000',
  },
}
SCSS
$custom: #b22995;
$custom-light: #cd72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22995",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 312.701,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.20369,
    "h": 338.3
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#B22995
secondary
#70C782
accent
#E66542
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22995

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

Preview Lab → · Contrast checker → · Palette generator →

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