#B22388#B22388

#B22388 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.201 H 343.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B22388
RGBrgb(178, 35, 136)
HSLhsl(318, 67%, 42%)
HSVhsv(318, 80%, 70%)
CMYKcmyk(0%, 80.3%, 23.6%, 30.2%)
CIE-LABlab(41.92, 63.75, -21.72)
CIE-LCHlch(41.92, 67.35, 341.19°)
OKLaboklab(52.61% 0.1926 -0.0582)
OKLCHoklch(52.61% 0.201 343.2)
XYZxyz(23.4060, 12.4472, 24.4577)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22388 #23B24D
analogous
#9523B2 #B22388 #B22341
triadic
#B22388 #88B223 #2388B2
tetradic
#B22388 #B29523 #23B24D #2341B2
square
#B22388 #B29523 #23B24D #2341B2
split-complementary
#B22388 #41B223 #23B295
monochromatic
#4C0F3A #7F1961 #B22388 #D83AAA #E26DC0

Accessibility & contrast

On white

6.02
#B22388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B22388 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22388
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22388#FFFFFF#000000##FFFFFF
##B223881.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#626B85
Tritanopia (blue-blind)
#BE2354
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22388;
/* rgb */ color: rgb(178, 35, 136);
/* oklch */ color: oklch(52.6% 0.201 343.2);
Tailwind
colors: {
  custom: {
    50: '#cd6fab',
    500: '#b22388',
    950: '#000000',
  },
}
SCSS
$custom: #b22388;
$custom-light: #cd6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#b22388",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 317.622,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.20117,
    "h": 343.2
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#B22388
secondary
#68C985
accent
#EA703E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B22388

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

Preview Lab → · Contrast checker → · Palette generator →

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