#B22895#B22895

#B22895 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.205 H 338.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B22895
RGBrgb(178, 40, 149)
HSLhsl(313, 63%, 43%)
HSVhsv(313, 78%, 70%)
CMYKcmyk(0%, 77.5%, 16.3%, 30.2%)
CIE-LABlab(43.00, 64.11, -27.95)
CIE-LCHlch(43.00, 69.94, 336.44°)
OKLaboklab(53.58% 0.1901 -0.0759)
OKLCHoklch(53.58% 0.205 338.2)
XYZxyz(24.5443, 13.1549, 29.6745)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22895 #28B245
analogous
#8A28B2 #B22895 #B22850
triadic
#B22895 #95B228 #2895B2
tetradic
#B22895 #B28A28 #28B245 #2850B2
square
#B22895 #B28A28 #28B245 #2850B2
split-complementary
#B22895 #50B228 #28B28A
monochromatic
#4E1241 #801D6B #B22895 #D543B6 #E075C9

Accessibility & contrast

On white

5.78
#B22895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B22895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22895
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22895#FFFFFF#000000##FFFFFF
##B228951.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#5F6D92
Tritanopia (blue-blind)
#BC305C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22895;
/* rgb */ color: rgb(178, 40, 149);
/* oklch */ color: oklch(53.6% 0.205 338.2);
Tailwind
colors: {
  custom: {
    50: '#cd72b4',
    500: '#b22895',
    950: '#000000',
  },
}
SCSS
$custom: #b22895;
$custom-light: #cd72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22895",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 312.609,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53578,
    "c": 0.20467,
    "h": 338.2
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#B22895
secondary
#6FC781
accent
#E66441
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22895

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

Preview Lab → · Contrast checker → · Palette generator →

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