#B54293#B54293

#B54293 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.174 H 341.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B54293
RGBrgb(181, 66, 147)
HSLhsl(318, 47%, 48%)
HSVhsv(318, 64%, 71%)
CMYKcmyk(0%, 63.5%, 18.8%, 29%)
CIE-LABlab(46.75, 55.23, -20.89)
CIE-LCHlch(46.75, 59.05, 339.28°)
OKLaboklab(56.37% 0.1645 -0.056)
OKLCHoklch(56.37% 0.174 341.2)
XYZxyz(26.2714, 15.8291, 29.2698)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54293 #42B564
analogous
#9D42B5 #B54293 #B54259
triadic
#B54293 #93B542 #4293B5
tetradic
#B54293 #B59D42 #42B564 #4259B5
square
#B54293 #B59D42 #42B564 #4259B5
split-complementary
#B54293 #59B542 #42B59D
monochromatic
#5B214A #88326F #B54293 #C96BAD #D998C6

Accessibility & contrast

On white

5.04
#B54293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B54293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54293
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54293#FFFFFF#000000##FFFFFF
##B542931.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6395
Deuteranopia (green-blind)
#6C7690
Tritanopia (blue-blind)
#BF4464
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54293;
/* rgb */ color: rgb(181, 66, 147);
/* oklch */ color: oklch(56.4% 0.174 341.2);
Tailwind
colors: {
  custom: {
    50: '#ce7eb3',
    500: '#b54293',
    950: '#000000',
  },
}
SCSS
$custom: #b54293;
$custom-light: #ce7eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54293",
  "rgb": {
    "r": 181,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 317.739,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.17379,
    "h": 341.2
  },
  "luminance": 0.15827
}

Semantic roles & 50–950 ramp

primary
#B54293
secondary
#8EC59E
accent
#D67952
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B54293

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

Preview Lab → · Contrast checker → · Palette generator →

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