#B22893#B22893

#B22893 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.203 H 339.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B22893
RGBrgb(178, 40, 147)
HSLhsl(313, 63%, 43%)
HSVhsv(313, 78%, 70%)
CMYKcmyk(0%, 77.5%, 17.4%, 30.2%)
CIE-LABlab(42.90, 63.83, -26.89)
CIE-LCHlch(42.90, 69.26, 337.16°)
OKLaboklab(53.48% 0.1899 -0.0729)
OKLCHoklch(53.48% 0.203 339)
XYZxyz(24.3860, 13.0916, 28.8407)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22893 #28B247
analogous
#8C28B2 #B22893 #B2284E
triadic
#B22893 #93B228 #2893B2
tetradic
#B22893 #B28C28 #28B247 #284EB2
square
#B22893 #B28C28 #28B247 #284EB2
split-complementary
#B22893 #4EB228 #28B28C
monochromatic
#4E1240 #801D6A #B22893 #D543B4 #E075C8

Accessibility & contrast

On white

5.80
#B22893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B22893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22893
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22893#FFFFFF#000000##FFFFFF
##B228931.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315896
Deuteranopia (green-blind)
#5F6D90
Tritanopia (blue-blind)
#BC2F5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22893;
/* rgb */ color: rgb(178, 40, 147);
/* oklch */ color: oklch(53.5% 0.203 339.0);
Tailwind
colors: {
  custom: {
    50: '#cd71b3',
    500: '#b22893',
    950: '#000000',
  },
}
SCSS
$custom: #b22893;
$custom-light: #cd71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22893",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 313.478,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53479,
    "c": 0.20336,
    "h": 339
  },
  "luminance": 0.13089
}

Semantic roles & 50–950 ramp

primary
#B22893
secondary
#6FC782
accent
#E66641
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22893

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

Preview Lab → · Contrast checker → · Palette generator →

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