#B22F95#B22F95

#B22F95 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.197 H 338.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B22F95
RGBrgb(178, 47, 149)
HSLhsl(313, 58%, 44%)
HSVhsv(313, 74%, 70%)
CMYKcmyk(0%, 73.6%, 16.3%, 30.2%)
CIE-LABlab(43.76, 61.94, -26.77)
CIE-LCHlch(43.76, 67.48, 336.63°)
OKLaboklab(54.13% 0.1836 -0.0726)
OKLCHoklch(54.13% 0.197 338.4)
XYZxyz(24.8020, 13.6703, 29.7604)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F95 #2FB24C
analogous
#8E2FB2 #B22F95 #B22F54
triadic
#B22F95 #95B22F #2F95B2
tetradic
#B22F95 #B28E2F #2FB24C #2F54B2
square
#B22F95 #B28E2F #2FB24C #2F54B2
split-complementary
#B22F95 #54B22F #2FB28E
monochromatic
#511544 #82226C #B22F95 #D04EB3 #DD7EC8

Accessibility & contrast

On white

5.62
#B22F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B22F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F95
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F95#FFFFFF#000000##FFFFFF
##B22F951.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#616F92
Tritanopia (blue-blind)
#BC355E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22f95;
/* rgb */ color: rgb(178, 47, 149);
/* oklch */ color: oklch(54.1% 0.197 338.4);
Tailwind
colors: {
  custom: {
    50: '#cd74b4',
    500: '#b22f95',
    950: '#000000',
  },
}
SCSS
$custom: #b22f95;
$custom-light: #cd74b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f95",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 313.282,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.19737,
    "h": 338.4
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#B22F95
secondary
#77C688
accent
#E16946
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22F95

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

Preview Lab → · Contrast checker → · Palette generator →

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