#B54E95#B54E95

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

Color values

HEX#B54E95
RGBrgb(181, 78, 149)
HSLhsl(319, 41%, 51%)
HSVhsv(319, 57%, 71%)
CMYKcmyk(0%, 56.9%, 17.7%, 29%)
CIE-LABlab(48.82, 50.14, -18.91)
CIE-LCHlch(48.82, 53.59, 339.33°)
OKLaboklab(57.92% 0.1488 -0.0506)
OKLCHoklch(57.92% 0.157 341.2)
XYZxyz(27.2058, 17.4447, 30.3622)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54E95 #4EB56E
analogous
#A14EB5 #B54E95 #B54E61
triadic
#B54E95 #95B54E #4E95B5
tetradic
#B54E95 #B5A14E #4EB56E #4E61B5
square
#B54E95 #B5A14E #4EB56E #4E61B5
split-complementary
#B54E95 #61B54E #4EB5A1
monochromatic
#60284F #8B3A72 #B54E95 #C779AF #D9A4C9

Accessibility & contrast

On white

4.68
#B54E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B54E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54E95
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54E95#FFFFFF#000000##FFFFFF
##B54E951.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546997
Deuteranopia (green-blind)
#727A92
Tritanopia (blue-blind)
#BF4F6B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b54e95;
/* rgb */ color: rgb(181, 78, 149);
/* oklch */ color: oklch(57.9% 0.157 341.2);
Tailwind
colors: {
  custom: {
    50: '#ce84b4',
    500: '#b54e95',
    950: '#000000',
  },
}
SCSS
$custom: #b54e95;
$custom-light: #ce84b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54e95",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 318.641,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.15714,
    "h": 341.2
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#B54E95
secondary
#99C6A7
accent
#D17D57
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #B54E95

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

Preview Lab → · Contrast checker → · Palette generator →

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