#B8798E#B8798E

#B8798E is a light, moderate pink. Relative luminance 0.258; OKLCH L 64.7% C 0.083 H 358.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B8798E
RGBrgb(184, 121, 142)
HSLhsl(340, 31%, 60%)
HSVhsv(340, 34%, 72%)
CMYKcmyk(0%, 34.2%, 22.8%, 27.8%)
CIE-LABlab(57.87, 27.58, -1.19)
CIE-LCHlch(57.87, 27.61, 357.52°)
OKLaboklab(64.75% 0.0829 -0.0028)
OKLCHoklch(64.75% 0.083 358.1)
XYZxyz(31.4876, 25.8200, 28.9112)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8798E #79B8A3
analogous
#B879AE #B8798E #B88479
triadic
#B8798E #8EB879 #798EB8
tetradic
#B8798E #AEB879 #79B8A3 #8479B8
square
#B8798E #AEB879 #79B8A3 #8479B8
split-complementary
#B8798E #79B884 #79AEB8
monochromatic
#773F52 #9F546D #B8798E #CDA1B0 #E2C9D1

Accessibility & contrast

On white

3.41
#B8798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B8798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B8798E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8798E#FFFFFF#000000##000000
##B8798E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81848F
Deuteranopia (green-blind)
#908F8D
Tritanopia (blue-blind)
#C27680
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b8798e;
/* rgb */ color: rgb(184, 121, 142);
/* oklch */ color: oklch(64.7% 0.083 358.1);
Tailwind
colors: {
  custom: {
    50: '#cea0af',
    500: '#b8798e',
    950: '#000000',
  },
}
SCSS
$custom: #b8798e;
$custom-light: #cea0af;
$custom-dark: #000000;
JSON
{
  "hex": "#b8798e",
  "rgb": {
    "r": 184,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 340,
    "s": 30.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.08297,
    "h": 358.1
  },
  "luminance": 0.25818
}

Semantic roles & 50–950 ramp

primary
#B8798E
secondary
#BAD3CA
accent
#C7A561
background
#FCF9FA
surface
#F9F2F4
border
#D2CCCE
text
#140F10
muted
#827E7F

Preview Lab

Preview with #B8798E

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

Preview Lab → · Contrast checker → · Palette generator →

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