#B9798E#B9798E

#B9798E is a light, moderate pink. Relative luminance 0.259; OKLCH L 64.9% C 0.084 H 358.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B9798E
RGBrgb(185, 121, 142)
HSLhsl(340, 31%, 60%)
HSVhsv(340, 35%, 73%)
CMYKcmyk(0%, 34.6%, 23.2%, 27.5%)
CIE-LABlab(57.98, 27.95, -1.01)
CIE-LCHlch(57.98, 27.97, 357.94°)
OKLaboklab(64.86% 0.0841 -0.0023)
OKLCHoklch(64.86% 0.084 358.5)
XYZxyz(31.7280, 25.9440, 28.9225)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9798E #79B9A4
analogous
#B979AE #B9798E #B98479
triadic
#B9798E #8EB979 #798EB9
tetradic
#B9798E #AEB979 #79B9A4 #8479B9
square
#B9798E #AEB979 #79B9A4 #8479B9
split-complementary
#B9798E #79B984 #79AEB9
monochromatic
#793F52 #A1546D #B9798E #CEA1B0 #E3C9D2

Accessibility & contrast

On white

3.39
#B9798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B9798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B9798E
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9798E#FFFFFF#000000##000000
##B9798E1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81858F
Deuteranopia (green-blind)
#91908D
Tritanopia (blue-blind)
#C37680
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b9798e;
/* rgb */ color: rgb(185, 121, 142);
/* oklch */ color: oklch(64.9% 0.084 358.5);
Tailwind
colors: {
  custom: {
    50: '#cfa0af',
    500: '#b9798e',
    950: '#000000',
  },
}
SCSS
$custom: #b9798e;
$custom-light: #cfa0af;
$custom-dark: #000000;
JSON
{
  "hex": "#b9798e",
  "rgb": {
    "r": 185,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 340.313,
    "s": 31.373,
    "l": 60
  },
  "oklch": {
    "l": 0.64862,
    "c": 0.08411,
    "h": 358.5
  },
  "luminance": 0.25942
}

Semantic roles & 50–950 ramp

primary
#B9798E
secondary
#BBD3CB
accent
#C8A660
background
#FCF9FA
surface
#F9F2F4
border
#D2CCCE
text
#140F10
muted
#827E7F

Preview Lab

Preview with #B9798E

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

Preview Lab → · Contrast checker → · Palette generator →

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