#BA526C#BA526C

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

Color values

HEX#BA526C
RGBrgb(186, 82, 108)
HSLhsl(345, 43%, 53%)
HSVhsv(345, 56%, 73%)
CMYKcmyk(0%, 55.9%, 41.9%, 27.1%)
CIE-LABlab(48.96, 44.49, 6.00)
CIE-LCHlch(48.96, 44.89, 7.69°)
OKLaboklab(57.74% 0.1353 0.016)
OKLCHoklch(57.74% 0.136 6.7)
XYZxyz(25.9754, 17.5592, 16.2058)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA526C #52BAA0
analogous
#BA52A0 #BA526C #BA6C52
triadic
#BA526C #6CBA52 #526CBA
tetradic
#BA526C #A0BA52 #52BAA0 #6C52BA
square
#BA526C #A0BA52 #52BAA0 #6C52BA
split-complementary
#BA526C #52BA6C #52A0BA
monochromatic
#682A39 #943B51 #BA526C #CB7E91 #DDAAB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA526C#FFFFFF#000000##FFFFFF
##BA526C1.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)
#66686D
Deuteranopia (green-blind)
#817C6A
Tritanopia (blue-blind)
#C9475C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba526c;
/* rgb */ color: rgb(186, 82, 108);
/* oklch */ color: oklch(57.7% 0.136 6.7);
Tailwind
colors: {
  custom: {
    50: '#d38696',
    500: '#ba526c',
    950: '#000000',
  },
}
SCSS
$custom: #ba526c;
$custom-light: #d38696;
$custom-dark: #000000;
JSON
{
  "hex": "#ba526c",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 108
  },
  "hsl": {
    "h": 345,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.13622,
    "h": 6.7
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#BA526C
secondary
#9DCABF
accent
#D3B355
background
#FDF8F9
surface
#FAF0F1
border
#D3CBCB
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA526C

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

Preview Lab → · Contrast checker → · Palette generator →

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