#B22695#B22695

#B22695 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.207 H 338.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B22695
RGBrgb(178, 38, 149)
HSLhsl(312, 65%, 42%)
HSVhsv(312, 79%, 70%)
CMYKcmyk(0%, 78.7%, 16.3%, 30.2%)
CIE-LABlab(42.80, 64.67, -28.26)
CIE-LCHlch(42.80, 70.58, 336.40°)
OKLaboklab(53.44% 0.1918 -0.0767)
OKLCHoklch(53.44% 0.207 338.2)
XYZxyz(24.4786, 13.0235, 29.6526)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22695 #26B243
analogous
#8926B2 #B22695 #B2264F
triadic
#B22695 #95B226 #2695B2
tetradic
#B22695 #B28926 #26B243 #264FB2
square
#B22695 #B28926 #26B243 #264FB2
split-complementary
#B22695 #4FB226 #26B289
monochromatic
#4D1041 #801B6B #B22695 #D63FB7 #E172CA

Accessibility & contrast

On white

5.83
#B22695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B22695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22695
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22695#FFFFFF#000000##FFFFFF
##B226951.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#5E6D92
Tritanopia (blue-blind)
#BC2E5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22695;
/* rgb */ color: rgb(178, 38, 149);
/* oklch */ color: oklch(53.4% 0.207 338.2);
Tailwind
colors: {
  custom: {
    50: '#cd71b4',
    500: '#b22695',
    950: '#000000',
  },
}
SCSS
$custom: #b22695;
$custom-light: #cd71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22695",
  "rgb": {
    "r": 178,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 312.429,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.20657,
    "h": 338.2
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#B22695
secondary
#6CC87F
accent
#E86340
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22695

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

Preview Lab → · Contrast checker → · Palette generator →

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