#BA5852#BA5852

#BA5852 is a mid, vivid red. Relative luminance 0.180; OKLCH L 58.0% C 0.128 H 25.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA5852
RGBrgb(186, 88, 82)
HSLhsl(3, 43%, 53%)
HSVhsv(3, 56%, 73%)
CMYKcmyk(0%, 52.7%, 55.9%, 27.1%)
CIE-LABlab(49.53, 39.01, 22.36)
CIE-LCHlch(49.53, 44.97, 29.82°)
OKLaboklab(57.99% 0.1156 0.0548)
OKLCHoklch(57.99% 0.128 25.4)
XYZxyz(25.2644, 18.0306, 10.1308)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5852 #52B4BA
analogous
#BA5280 #BA5852 #BA8C52
triadic
#BA5852 #52BA58 #5852BA
tetradic
#BA5852 #80BA52 #52B4BA #8C52BA
square
#BA5852 #80BA52 #52B4BA #8C52BA
split-complementary
#BA5852 #52BA8C #5280BA
monochromatic
#682D2A #94403B #BA5852 #CB827E #DDACAA

Accessibility & contrast

On white

4.56
#BA5852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BA5852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5852
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5852#FFFFFF#000000##000000
##BA58521.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6951
Deuteranopia (green-blind)
#887E50
Tritanopia (blue-blind)
#CB4857
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5852;
/* rgb */ color: rgb(186, 88, 82);
/* oklch */ color: oklch(58.0% 0.128 25.4);
Tailwind
colors: {
  custom: {
    50: '#d48a82',
    500: '#ba5852',
    950: '#000000',
  },
}
SCSS
$custom: #ba5852;
$custom-light: #d48a82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5852",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 82
  },
  "hsl": {
    "h": 3.462,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.12797,
    "h": 25.4
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#BA5852
secondary
#9DC8CA
accent
#CBD355
background
#FDF8F7
surface
#FBF0EE
border
#D4CBC9
text
#150C0A
muted
#837D7C

Preview Lab

Preview with #BA5852

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

Preview Lab → · Contrast checker → · Palette generator →

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