#B15797#B15797

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

Color values

HEX#B15797
RGBrgb(177, 87, 151)
HSLhsl(317, 37%, 52%)
HSVhsv(317, 51%, 69%)
CMYKcmyk(0%, 50.8%, 14.7%, 30.6%)
CIE-LABlab(49.98, 44.81, -18.37)
CIE-LCHlch(49.98, 48.43, 337.70°)
OKLaboklab(58.69% 0.1317 -0.0493)
OKLCHoklch(58.69% 0.141 339.5)
XYZxyz(27.1259, 18.3998, 31.3950)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15797 #57B171
analogous
#9E57B1 #B15797 #B1576A
triadic
#B15797 #97B157 #5797B1
tetradic
#B15797 #B19E57 #57B171 #576AB1
square
#B15797 #B19E57 #57B171 #576AB1
split-complementary
#B15797 #6AB157 #57B19E
monochromatic
#612D52 #8A4075 #B15797 #C481B1 #D8ABCB

Accessibility & contrast

On white

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

On black

4.68
#B15797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15797
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15797#FFFFFF#000000##000000
##B157971.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#737C95
Tritanopia (blue-blind)
#BA5970
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b15797;
/* rgb */ color: rgb(177, 87, 151);
/* oklch */ color: oklch(58.7% 0.141 339.5);
Tailwind
colors: {
  custom: {
    50: '#ca8ab5',
    500: '#b15797',
    950: '#000000',
  },
}
SCSS
$custom: #b15797;
$custom-light: #ca8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#b15797",
  "rgb": {
    "r": 177,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 317.333,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.14063,
    "h": 339.5
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#B15797
secondary
#9EC6AA
accent
#CD7C5B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #B15797

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

Preview Lab → · Contrast checker → · Palette generator →

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