#B43158#B43158

#B43158 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.168 H 7.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B43158
RGBrgb(180, 49, 88)
HSLhsl(342, 57%, 45%)
HSVhsv(342, 73%, 71%)
CMYKcmyk(0%, 72.8%, 51.1%, 29.4%)
CIE-LABlab(42.17, 54.80, 8.51)
CIE-LCHlch(42.17, 55.46, 8.82°)
OKLaboklab(52.31% 0.1669 0.022)
OKLCHoklch(52.31% 0.168 7.5)
XYZxyz(21.6840, 12.6074, 10.5223)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B43158 #31B48D
analogous
#B4319A #B43158 #B44B31
triadic
#B43158 #58B431 #3158B4
tetradic
#B43158 #9AB431 #31B48D #4B31B4
square
#B43158 #9AB431 #31B48D #4B31B4
split-complementary
#B43158 #31B44B #319AB4
monochromatic
#541729 #842440 #B43158 #D05278 #DD829D

Accessibility & contrast

On white

5.96
#B43158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B43158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B43158
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B43158#FFFFFF#000000##FFFFFF
##B431581.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515359
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#C41441
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b43158;
/* rgb */ color: rgb(180, 49, 88);
/* oklch */ color: oklch(52.3% 0.168 7.5);
Tailwind
colors: {
  custom: {
    50: '#d07486',
    500: '#b43158',
    950: '#000000',
  },
}
SCSS
$custom: #b43158;
$custom-light: #d07486;
$custom-dark: #000000;
JSON
{
  "hex": "#b43158",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 342.137,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.16839,
    "h": 7.5
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#B43158
secondary
#7BC6B0
accent
#E0B347
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B43158

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

Preview Lab → · Contrast checker → · Palette generator →

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