#B54183#B54183

#B54183 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.165 H 348.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B54183
RGBrgb(181, 65, 131)
HSLhsl(326, 47%, 48%)
HSVhsv(326, 64%, 71%)
CMYKcmyk(0%, 64.1%, 27.6%, 29%)
CIE-LABlab(45.97, 53.44, -12.43)
CIE-LCHlch(45.97, 54.87, 346.91°)
OKLaboklab(55.6% 0.162 -0.0326)
OKLCHoklch(55.6% 0.165 348.6)
XYZxyz(25.0441, 15.2456, 23.0921)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54183 #41B573
analogous
#AD41B5 #B54183 #B54149
triadic
#B54183 #83B541 #4183B5
tetradic
#B54183 #B5AD41 #41B573 #4149B5
square
#B54183 #B5AD41 #41B573 #4149B5
split-complementary
#B54183 #49B541 #41B5AD
monochromatic
#5B2142 #883162 #B54183 #C96AA0 #DA97BD

Accessibility & contrast

On white

5.19
#B54183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B54183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54183
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54183#FFFFFF#000000##FFFFFF
##B541831.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506085
Deuteranopia (green-blind)
#707480
Tritanopia (blue-blind)
#C13D5C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b54183;
/* rgb */ color: rgb(181, 65, 131);
/* oklch */ color: oklch(55.6% 0.165 348.6);
Tailwind
colors: {
  custom: {
    50: '#cf7da7',
    500: '#b54183',
    950: '#000000',
  },
}
SCSS
$custom: #b54183;
$custom-light: #cf7da7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54183",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 325.862,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55595,
    "c": 0.16528,
    "h": 348.6
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#B54183
secondary
#8CC5A5
accent
#D78B51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B54183

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

Preview Lab → · Contrast checker → · Palette generator →

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