#B5396B#B5396B

#B5396B is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.9% C 0.165 H 359.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B5396B
RGBrgb(181, 57, 107)
HSLhsl(336, 52%, 47%)
HSVhsv(336, 69%, 71%)
CMYKcmyk(0%, 68.5%, 40.9%, 29%)
CIE-LABlab(43.97, 53.89, -0.71)
CIE-LCHlch(43.97, 53.90, 359.25°)
OKLaboklab(53.85% 0.1651 -0.0012)
OKLCHoklch(53.85% 0.165 359.6)
XYZxyz(23.1746, 13.8144, 15.3531)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5396B #39B583
analogous
#B539A9 #B5396B #B54539
triadic
#B5396B #6BB539 #396BB5
tetradic
#B5396B #A9B539 #39B583 #4539B5
square
#B5396B #A9B539 #39B583 #4539B5
split-complementary
#B5396B #39B545 #39A9B5
monochromatic
#581C34 #862A4F #B5396B #CD5F8B #DB8DAD

Accessibility & contrast

On white

5.58
#B5396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B5396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5396B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5396B#FFFFFF#000000##FFFFFF
##B5396B1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51596C
Deuteranopia (green-blind)
#737168
Tritanopia (blue-blind)
#C42A4D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b5396b;
/* rgb */ color: rgb(181, 57, 107);
/* oklch */ color: oklch(53.9% 0.165 359.6);
Tailwind
colors: {
  custom: {
    50: '#d07895',
    500: '#b5396b',
    950: '#000000',
  },
}
SCSS
$custom: #b5396b;
$custom-light: #d07895;
$custom-dark: #000000;
JSON
{
  "hex": "#b5396b",
  "rgb": {
    "r": 181,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 335.806,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.16505,
    "h": 359.6
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#B5396B
secondary
#84C6AB
accent
#DCA24C
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5396B

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

Preview Lab → · Contrast checker → · Palette generator →

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