#B22789#B22789

#B22789 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.198 H 343.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B22789
RGBrgb(178, 39, 137)
HSLhsl(318, 64%, 43%)
HSVhsv(318, 78%, 70%)
CMYKcmyk(0%, 78.1%, 23%, 30.2%)
CIE-LABlab(42.35, 62.78, -21.67)
CIE-LCHlch(42.35, 66.42, 340.96°)
OKLaboklab(52.93% 0.1894 -0.0581)
OKLCHoklch(52.93% 0.198 343)
XYZxyz(23.6019, 12.7247, 24.8752)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22789 #27B250
analogous
#9627B2 #B22789 #B22743
triadic
#B22789 #89B227 #2789B2
tetradic
#B22789 #B29627 #27B250 #2743B2
square
#B22789 #B29627 #27B250 #2743B2
split-complementary
#B22789 #43B227 #27B296
monochromatic
#4E113C #801C62 #B22789 #D541AA #E073C0

Accessibility & contrast

On white

5.92
#B22789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B22789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22789
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22789#FFFFFF#000000##FFFFFF
##B227891.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558C
Deuteranopia (green-blind)
#636C86
Tritanopia (blue-blind)
#BE2856
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22789;
/* rgb */ color: rgb(178, 39, 137);
/* oklch */ color: oklch(52.9% 0.198 343.0);
Tailwind
colors: {
  custom: {
    50: '#cd71ab',
    500: '#b22789',
    950: '#000000',
  },
}
SCSS
$custom: #b22789;
$custom-light: #cd71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b22789",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 317.698,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.19805,
    "h": 343
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#B22789
secondary
#6DC888
accent
#E77241
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22789

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

Preview Lab → · Contrast checker → · Palette generator →

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