#B22489#B22489

#B22489 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.7% C 0.201 H 342.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B22489
RGBrgb(178, 36, 137)
HSLhsl(317, 66%, 42%)
HSVhsv(317, 80%, 70%)
CMYKcmyk(0%, 79.8%, 23%, 30.2%)
CIE-LABlab(42.05, 63.62, -22.12)
CIE-LCHlch(42.05, 67.35, 340.83°)
OKLaboklab(52.72% 0.1919 -0.0593)
OKLCHoklch(52.72% 0.201 342.8)
XYZxyz(23.5072, 12.5354, 24.8437)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22489 #24B24D
analogous
#9424B2 #B22489 #B22442
triadic
#B22489 #89B224 #2489B2
tetradic
#B22489 #B29424 #24B24D #2442B2
square
#B22489 #B29424 #24B24D #2442B2
split-complementary
#B22489 #42B224 #24B294
monochromatic
#4C0F3B #7F1A62 #B22489 #D83CAB #E26FC1

Accessibility & contrast

On white

5.99
#B22489 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B22489 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22489
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22489#FFFFFF#000000##FFFFFF
##B224891.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548C
Deuteranopia (green-blind)
#626B86
Tritanopia (blue-blind)
#BE2555
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22489;
/* rgb */ color: rgb(178, 36, 137);
/* oklch */ color: oklch(52.7% 0.201 342.8);
Tailwind
colors: {
  custom: {
    50: '#cd70ab',
    500: '#b22489',
    950: '#000000',
  },
}
SCSS
$custom: #b22489;
$custom-light: #cd70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b22489",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 317.324,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.20087,
    "h": 342.8
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#B22489
secondary
#69C885
accent
#E9703F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B22489

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

Preview Lab → · Contrast checker → · Palette generator →

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