#B17FA2#B17FA2

#B17FA2 is a light, moderate pink. Relative luminance 0.271; OKLCH L 65.7% C 0.078 H 338.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B17FA2
RGBrgb(177, 127, 162)
HSLhsl(318, 24%, 60%)
HSVhsv(318, 28%, 69%)
CMYKcmyk(0%, 28.2%, 8.5%, 30.6%)
CIE-LABlab(59.10, 25.00, -10.98)
CIE-LCHlch(59.10, 27.31, 336.30°)
OKLaboklab(65.72% 0.0721 -0.0292)
OKLCHoklch(65.72% 0.078 338)
XYZxyz(32.2421, 27.1358, 37.7148)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FA2 #7FB18E
analogous
#A77FB1 #B17FA2 #B17F89
triadic
#B17FA2 #A2B17F #7FA2B1
tetradic
#B17FA2 #B1A77F #7FB18E #7F89B1
square
#B17FA2 #B1A77F #7FB18E #7F89B1
split-complementary
#B17FA2 #89B17F #7FB1A7
monochromatic
#714564 #975C85 #B17FA2 #C8A5BE #DFCBD9

Accessibility & contrast

On white

3.27
#B17FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B17FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17FA2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FA2#FFFFFF#000000##000000
##B17FA21.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA3
Deuteranopia (green-blind)
#8C91A1
Tritanopia (blue-blind)
#B7808B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b17fa2;
/* rgb */ color: rgb(177, 127, 162);
/* oklch */ color: oklch(65.7% 0.078 338.0);
Tailwind
colors: {
  custom: {
    50: '#c9a4bd',
    500: '#b17fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b17fa2;
$custom-light: #c9a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b17fa2",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 318,
    "s": 24.272,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65717,
    "c": 0.07775,
    "h": 338
  },
  "luminance": 0.27134
}

Semantic roles & 50–950 ramp

primary
#B17FA2
secondary
#BCD0C2
accent
#C18267
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #B17FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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