#BA526E#BA526E

#BA526E is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.8% C 0.137 H 5.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA526E
RGBrgb(186, 82, 110)
HSLhsl(344, 43%, 53%)
HSVhsv(344, 56%, 73%)
CMYKcmyk(0%, 55.9%, 40.9%, 27.1%)
CIE-LABlab(49.01, 44.70, 4.87)
CIE-LCHlch(49.01, 44.97, 6.22°)
OKLaboklab(57.8% 0.136 0.0131)
OKLCHoklch(57.8% 0.137 5.5)
XYZxyz(26.0831, 17.6023, 16.7728)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA526E #52BA9E
analogous
#BA52A2 #BA526E #BA6A52
triadic
#BA526E #6EBA52 #526EBA
tetradic
#BA526E #A2BA52 #52BA9E #6A52BA
square
#BA526E #A2BA52 #52BA9E #6A52BA
split-complementary
#BA526E #52BA6A #52A2BA
monochromatic
#682A3A #943B53 #BA526E #CB7E93 #DDAAB7

Accessibility & contrast

On white

4.65
#BA526E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA526E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA526E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA526E#FFFFFF#000000##FFFFFF
##BA526E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66686F
Deuteranopia (green-blind)
#807C6C
Tritanopia (blue-blind)
#C9475C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba526e;
/* rgb */ color: rgb(186, 82, 110);
/* oklch */ color: oklch(57.8% 0.137 5.5);
Tailwind
colors: {
  custom: {
    50: '#d28697',
    500: '#ba526e',
    950: '#000000',
  },
}
SCSS
$custom: #ba526e;
$custom-light: #d28697;
$custom-dark: #000000;
JSON
{
  "hex": "#ba526e",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 110
  },
  "hsl": {
    "h": 343.846,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.13666,
    "h": 5.5
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#BA526E
secondary
#9DCABE
accent
#D3B155
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #BA526E

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

Preview Lab → · Contrast checker → · Palette generator →

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