#BA5EA3#BA5EA3

#BA5EA3 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.4% C 0.145 H 337.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA5EA3
RGBrgb(186, 94, 163)
HSLhsl(315, 40%, 55%)
HSVhsv(315, 49%, 73%)
CMYKcmyk(0%, 49.5%, 12.4%, 27.1%)
CIE-LABlab(53.05, 46.04, -20.63)
CIE-LCHlch(53.05, 50.45, 335.87°)
OKLaboklab(61.39% 0.1344 -0.0555)
OKLCHoklch(61.39% 0.145 337.6)
XYZxyz(30.8635, 21.0910, 37.0886)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EA3 #5EBA75
analogous
#A35EBA #BA5EA3 #BA5E75
triadic
#BA5EA3 #A3BA5E #5EA3BA
tetradic
#BA5EA3 #BAA35E #5EBA75 #5E75BA
square
#BA5EA3 #BAA35E #5EBA75 #5E75BA
split-complementary
#BA5EA3 #75BA5E #5EBAA3
monochromatic
#6E2F5F #994283 #BA5EA3 #CC89BB #DFB4D4

Accessibility & contrast

On white

4.02
#BA5EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BA5EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EA3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EA3#FFFFFF#000000##000000
##BA5EA31.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6076A5
Deuteranopia (green-blind)
#7A84A0
Tritanopia (blue-blind)
#C26179
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba5ea3;
/* rgb */ color: rgb(186, 94, 163);
/* oklch */ color: oklch(61.4% 0.145 337.6);
Tailwind
colors: {
  custom: {
    50: '#d18fbe',
    500: '#ba5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ea3;
$custom-light: #d18fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ea3",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 315,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.14538,
    "h": 337.6
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#BA5EA3
secondary
#A7CDB0
accent
#D07658
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140D12
muted
#837D81

Preview Lab

Preview with #BA5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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