#B5787D#B5787D

#B5787D is a light, moderate red. Relative luminance 0.247; OKLCH L 63.7% C 0.077 H 14.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B5787D
RGBrgb(181, 120, 125)
HSLhsl(355, 29%, 59%)
HSVhsv(355, 34%, 71%)
CMYKcmyk(0%, 33.7%, 30.9%, 29%)
CIE-LABlab(56.82, 24.55, 7.10)
CIE-LCHlch(56.82, 25.56, 16.13°)
OKLaboklab(63.72% 0.0745 0.0187)
OKLCHoklch(63.72% 0.077 14.1)
XYZxyz(29.4751, 24.7393, 22.6208)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5787D #78B5B0
analogous
#B5789C #B5787D #B59278
triadic
#B5787D #7DB578 #787DB5
tetradic
#B5787D #9CB578 #78B5B0 #9278B5
square
#B5787D #9CB578 #78B5B0 #9278B5
split-complementary
#B5787D #78B592 #789CB5
monochromatic
#733F44 #9B555B #B5787D #CBA0A3 #E0C7C9

Accessibility & contrast

On white

3.53
#B5787D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B5787D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B5787D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5787D#FFFFFF#000000##000000
##B5787D1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83817D
Deuteranopia (green-blind)
#918D7C
Tritanopia (blue-blind)
#C0727A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b5787d;
/* rgb */ color: rgb(181, 120, 125);
/* oklch */ color: oklch(63.7% 0.077 14.1);
Tailwind
colors: {
  custom: {
    50: '#cd9fa2',
    500: '#b5787d',
    950: '#000000',
  },
}
SCSS
$custom: #b5787d;
$custom-light: #cd9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5787d",
  "rgb": {
    "r": 181,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 355.082,
    "s": 29.187,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63716,
    "c": 0.07685,
    "h": 14.1
  },
  "luminance": 0.24737
}

Semantic roles & 50–950 ramp

primary
#B5787D
secondary
#B8D0CE
accent
#C5BD62
background
#FCF9F9
surface
#F9F2F2
border
#D2CCCC
text
#140E0F
muted
#827E7E

Preview Lab

Preview with #B5787D

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

Preview Lab → · Contrast checker → · Palette generator →

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