#B42289#B42289

#B42289 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 52.9% C 0.204 H 343.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B42289
RGBrgb(180, 34, 137)
HSLhsl(318, 68%, 42%)
HSVhsv(318, 81%, 71%)
CMYKcmyk(0%, 81.1%, 23.9%, 29.4%)
CIE-LABlab(42.24, 64.60, -21.80)
CIE-LCHlch(42.24, 68.18, 341.35°)
OKLaboklab(52.92% 0.1953 -0.0584)
OKLCHoklch(52.92% 0.204 343.4)
XYZxyz(23.9107, 12.6561, 24.8457)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42289 #22B44D
analogous
#9622B4 #B42289 #B42240
triadic
#B42289 #89B422 #2289B4
tetradic
#B42289 #B49622 #22B44D #2240B4
square
#B42289 #B49622 #22B44D #2240B4
split-complementary
#B42289 #40B422 #22B496
monochromatic
#4D0F3B #811862 #B42289 #DA3AAB #E36DC1

Accessibility & contrast

On white

5.95
#B42289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B42289 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42289
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42289#FFFFFF#000000##FFFFFF
##B422891.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42289;
/* rgb */ color: rgb(180, 34, 137);
/* oklch */ color: oklch(52.9% 0.204 343.4);
Tailwind
colors: {
  custom: {
    50: '#cf6fab',
    500: '#b42289',
    950: '#000000',
  },
}
SCSS
$custom: #b42289;
$custom-light: #cf6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42289",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 317.671,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.20383,
    "h": 343.4
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#B42289
secondary
#68CA85
accent
#EB703D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B42289

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

Preview Lab → · Contrast checker → · Palette generator →

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