#B178A2#B178A2

#B178A2 is a light, moderate pink. Relative luminance 0.254; OKLCH L 64.5% C 0.091 H 336.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B178A2
RGBrgb(177, 120, 162)
HSLhsl(316, 27%, 58%)
HSVhsv(316, 32%, 69%)
CMYKcmyk(0%, 32.2%, 8.5%, 30.6%)
CIE-LABlab(57.45, 28.92, -13.45)
CIE-LCHlch(57.45, 31.90, 335.06°)
OKLaboklab(64.46% 0.0833 -0.0359)
OKLCHoklch(64.46% 0.091 336.7)
XYZxyz(31.3693, 25.3901, 37.4238)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178A2 #78B187
analogous
#A378B1 #B178A2 #B17885
triadic
#B178A2 #A2B178 #78A2B1
tetradic
#B178A2 #B1A378 #78B187 #7885B1
square
#B178A2 #B1A378 #78B187 #7885B1
split-complementary
#B178A2 #85B178 #78B1A3
monochromatic
#6F4062 #955685 #B178A2 #C79FBD #DEC6D7

Accessibility & contrast

On white

3.46
#B178A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B178A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178A2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178A2#FFFFFF#000000##000000
##B178A21.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A4
Deuteranopia (green-blind)
#878DA0
Tritanopia (blue-blind)
#B77A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b178a2;
/* rgb */ color: rgb(177, 120, 162);
/* oklch */ color: oklch(64.5% 0.091 336.7);
Tailwind
colors: {
  custom: {
    50: '#c99fbd',
    500: '#b178a2',
    950: '#000000',
  },
}
SCSS
$custom: #b178a2;
$custom-light: #c99fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b178a2",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 315.789,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6446,
    "c": 0.09067,
    "h": 336.7
  },
  "luminance": 0.25389
}

Semantic roles & 50–950 ramp

primary
#B178A2
secondary
#B7CEBD
accent
#C37E65
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #B178A2

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

Preview Lab → · Contrast checker → · Palette generator →

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