#B15796#B15796

#B15796 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.7% C 0.140 H 340.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B15796
RGBrgb(177, 87, 150)
HSLhsl(318, 37%, 52%)
HSVhsv(318, 51%, 69%)
CMYKcmyk(0%, 50.8%, 15.3%, 30.6%)
CIE-LABlab(49.94, 44.65, -17.84)
CIE-LCHlch(49.94, 48.08, 338.22°)
OKLaboklab(58.65% 0.1315 -0.0478)
OKLCHoklch(58.65% 0.14 340)
XYZxyz(27.0450, 18.3675, 30.9691)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15796 #57B172
analogous
#9F57B1 #B15796 #B15769
triadic
#B15796 #96B157 #5796B1
tetradic
#B15796 #B19F57 #57B172 #5769B1
square
#B15796 #B19F57 #57B172 #5769B1
split-complementary
#B15796 #69B157 #57B19F
monochromatic
#612D51 #8A4074 #B15796 #C481B0 #D8ABCA

Accessibility & contrast

On white

4.49
#B15796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B15796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15796
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15796#FFFFFF#000000##000000
##B157961.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E98
Deuteranopia (green-blind)
#747C94
Tritanopia (blue-blind)
#BA5970
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b15796;
/* rgb */ color: rgb(177, 87, 150);
/* oklch */ color: oklch(58.7% 0.140 340.0);
Tailwind
colors: {
  custom: {
    50: '#ca8ab5',
    500: '#b15796',
    950: '#000000',
  },
}
SCSS
$custom: #b15796;
$custom-light: #ca8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#b15796",
  "rgb": {
    "r": 177,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 318,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58652,
    "c": 0.13987,
    "h": 340
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#B15796
secondary
#9EC6AA
accent
#CD7D5B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C11
muted
#827D80

Preview Lab

Preview with #B15796

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

Preview Lab → · Contrast checker → · Palette generator →

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