#B43198#B43198

#B43198 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.8% C 0.198 H 338.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B43198
RGBrgb(180, 49, 152)
HSLhsl(313, 57%, 45%)
HSVhsv(313, 73%, 71%)
CMYKcmyk(0%, 72.8%, 15.6%, 29.4%)
CIE-LABlab(44.47, 62.19, -27.43)
CIE-LCHlch(44.47, 67.97, 336.20°)
OKLaboklab(54.76% 0.1839 -0.0744)
OKLCHoklch(54.76% 0.198 338)
XYZxyz(25.5887, 14.1693, 31.0870)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B43198 #31B44D
analogous
#8E31B4 #B43198 #B43157
triadic
#B43198 #98B431 #3198B4
tetradic
#B43198 #B48E31 #31B44D #3157B4
square
#B43198 #B48E31 #31B44D #3157B4
split-complementary
#B43198 #57B431 #31B48E
monochromatic
#541747 #84246F #B43198 #D052B5 #DD82CA

Accessibility & contrast

On white

5.48
#B43198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B43198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B43198
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B43198#FFFFFF#000000##FFFFFF
##B431981.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#627095
Tritanopia (blue-blind)
#BE3861
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b43198;
/* rgb */ color: rgb(180, 49, 152);
/* oklch */ color: oklch(54.8% 0.198 338.0);
Tailwind
colors: {
  custom: {
    50: '#ce76b6',
    500: '#b43198',
    950: '#000000',
  },
}
SCSS
$custom: #b43198;
$custom-light: #ce76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b43198",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 312.824,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.19836,
    "h": 338
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#B43198
secondary
#7BC68B
accent
#E06847
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B43198

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

Preview Lab → · Contrast checker → · Palette generator →

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