#BA526B#BA526B

#BA526B is a mid, vivid red. Relative luminance 0.175; OKLCH L 57.7% C 0.136 H 7.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA526B
RGBrgb(186, 82, 107)
HSLhsl(346, 43%, 53%)
HSVhsv(346, 56%, 73%)
CMYKcmyk(0%, 55.9%, 42.5%, 27.1%)
CIE-LABlab(48.93, 44.38, 6.57)
CIE-LCHlch(48.93, 44.86, 8.42°)
OKLaboklab(57.71% 0.1349 0.0174)
OKLCHoklch(57.71% 0.136 7.3)
XYZxyz(25.9225, 17.5380, 15.9271)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA526B #52BAA1
analogous
#BA529F #BA526B #BA6D52
triadic
#BA526B #6BBA52 #526BBA
tetradic
#BA526B #9FBA52 #52BAA1 #6D52BA
square
#BA526B #9FBA52 #52BAA1 #6D52BA
split-complementary
#BA526B #52BA6D #529FBA
monochromatic
#682A39 #943B50 #BA526B #CB7E90 #DDAAB6

Accessibility & contrast

On white

4.66
#BA526B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA526B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA526B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA526B#FFFFFF#000000##FFFFFF
##BA526B1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66686C
Deuteranopia (green-blind)
#817C69
Tritanopia (blue-blind)
#C9465B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba526b;
/* rgb */ color: rgb(186, 82, 107);
/* oklch */ color: oklch(57.7% 0.136 7.3);
Tailwind
colors: {
  custom: {
    50: '#d38695',
    500: '#ba526b',
    950: '#000000',
  },
}
SCSS
$custom: #ba526b;
$custom-light: #d38695;
$custom-dark: #000000;
JSON
{
  "hex": "#ba526b",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 107
  },
  "hsl": {
    "h": 345.577,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.13601,
    "h": 7.3
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#BA526B
secondary
#9DCAC0
accent
#D3B555
background
#FDF8F9
surface
#FAF0F1
border
#D3CBCB
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA526B

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

Preview Lab → · Contrast checker → · Palette generator →

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