#B159A2#B159A2

#B159A2 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.5% C 0.146 H 334.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B159A2
RGBrgb(177, 89, 162)
HSLhsl(310, 36%, 52%)
HSVhsv(310, 50%, 69%)
CMYKcmyk(0%, 49.7%, 8.5%, 30.6%)
CIE-LABlab(50.81, 45.62, -23.59)
CIE-LCHlch(50.81, 51.36, 332.66°)
OKLaboklab(59.46% 0.1313 -0.0639)
OKLCHoklch(59.46% 0.146 334)
XYZxyz(28.2254, 19.1023, 36.3759)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159A2 #59B168
analogous
#9459B1 #B159A2 #B15976
triadic
#B159A2 #A2B159 #59A2B1
tetradic
#B159A2 #B19459 #59B168 #5976B1
square
#B159A2 #B19459 #59B168 #5976B1
split-complementary
#B159A2 #76B159 #59B194
monochromatic
#622E59 #8B417F #B159A2 #C583B9 #D8ACD1

Accessibility & contrast

On white

4.36
#B159A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B159A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159A2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159A2#FFFFFF#000000##000000
##B159A21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A4
Deuteranopia (green-blind)
#717EA0
Tritanopia (blue-blind)
#B85E76
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b159a2;
/* rgb */ color: rgb(177, 89, 162);
/* oklch */ color: oklch(59.5% 0.146 334.0);
Tailwind
colors: {
  custom: {
    50: '#ca8bbd',
    500: '#b159a2',
    950: '#000000',
  },
}
SCSS
$custom: #b159a2;
$custom-light: #ca8bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b159a2",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 310.227,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.14607,
    "h": 334
  },
  "luminance": 0.19101
}

Semantic roles & 50–950 ramp

primary
#B159A2
secondary
#A0C6A6
accent
#CC6F5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B159A2

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

Preview Lab → · Contrast checker → · Palette generator →

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