#B1787F#B1787F

#B1787F is a light, moderate red. Relative luminance 0.243; OKLCH L 63.3% C 0.072 H 11.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B1787F
RGBrgb(177, 120, 127)
HSLhsl(353, 27%, 58%)
HSVhsv(353, 32%, 69%)
CMYKcmyk(0%, 32.2%, 28.2%, 30.6%)
CIE-LABlab(56.40, 23.29, 5.28)
CIE-LCHlch(56.40, 23.88, 12.76°)
OKLaboklab(63.31% 0.0707 0.014)
OKLCHoklch(63.31% 0.072 11.2)
XYZxyz(28.6794, 24.3141, 23.2571)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1787F #78B1AA
analogous
#B1789B #B1787F #B18D78
triadic
#B1787F #7FB178 #787FB1
tetradic
#B1787F #9BB178 #78B1AA #8D78B1
square
#B1787F #9BB178 #78B1AA #8D78B1
split-complementary
#B1787F #78B18D #789BB1
monochromatic
#6F4046 #95565E #B1787F #C79FA4 #DEC6C9

Accessibility & contrast

On white

3.58
#B1787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B1787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B1787F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1787F#FFFFFF#000000##000000
##B1787F1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81817F
Deuteranopia (green-blind)
#8F8B7E
Tritanopia (blue-blind)
#BB737B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b1787f;
/* rgb */ color: rgb(177, 120, 127);
/* oklch */ color: oklch(63.3% 0.072 11.2);
Tailwind
colors: {
  custom: {
    50: '#c99fa4',
    500: '#b1787f',
    950: '#000000',
  },
}
SCSS
$custom: #b1787f;
$custom-light: #c99fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1787f",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 352.632,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63307,
    "c": 0.07203,
    "h": 11.2
  },
  "luminance": 0.24312
}

Semantic roles & 50–950 ramp

primary
#B1787F
secondary
#B7CECB
accent
#C3B865
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E0F
muted
#827E7F

Preview Lab

Preview with #B1787F

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

Preview Lab → · Contrast checker → · Palette generator →

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