#B5787F#B5787F

#B5787F is a light, moderate red. Relative luminance 0.248; OKLCH L 63.8% C 0.077 H 11.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B5787F
RGBrgb(181, 120, 127)
HSLhsl(353, 29%, 59%)
HSVhsv(353, 34%, 71%)
CMYKcmyk(0%, 33.7%, 29.8%, 29%)
CIE-LABlab(56.87, 24.83, 6.01)
CIE-LCHlch(56.87, 25.55, 13.61°)
OKLaboklab(63.77% 0.0753 0.0159)
OKLCHoklch(63.77% 0.077 11.9)
XYZxyz(29.6041, 24.7909, 23.3004)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5787F #78B5AE
analogous
#B5789E #B5787F #B59078
triadic
#B5787F #7FB578 #787FB5
tetradic
#B5787F #9EB578 #78B5AE #9078B5
square
#B5787F #9EB578 #78B5AE #9078B5
split-complementary
#B5787F #78B590 #789EB5
monochromatic
#733F45 #9B555D #B5787F #CBA0A4 #E0C7CA

Accessibility & contrast

On white

3.52
#B5787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B5787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B5787F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5787F#FFFFFF#000000##000000
##B5787F1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82827F
Deuteranopia (green-blind)
#918D7E
Tritanopia (blue-blind)
#C0737B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b5787f;
/* rgb */ color: rgb(181, 120, 127);
/* oklch */ color: oklch(63.8% 0.077 11.9);
Tailwind
colors: {
  custom: {
    50: '#cd9fa4',
    500: '#b5787f',
    950: '#000000',
  },
}
SCSS
$custom: #b5787f;
$custom-light: #cd9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#b5787f",
  "rgb": {
    "r": 181,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 353.115,
    "s": 29.187,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63772,
    "c": 0.077,
    "h": 11.9
  },
  "luminance": 0.24789
}

Semantic roles & 50–950 ramp

primary
#B5787F
secondary
#B8D0CE
accent
#C5BA62
background
#FCF9FA
surface
#F9F2F4
border
#D2CCCE
text
#140E0F
muted
#827E7F

Preview Lab

Preview with #B5787F

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

Preview Lab → · Contrast checker → · Palette generator →

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