#BA5EA0#BA5EA0

#BA5EA0 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.3% C 0.143 H 339.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA5EA0
RGBrgb(186, 94, 160)
HSLhsl(317, 40%, 55%)
HSVhsv(317, 49%, 73%)
CMYKcmyk(0%, 49.5%, 14%, 27.1%)
CIE-LABlab(52.93, 45.56, -19.05)
CIE-LCHlch(52.93, 49.38, 337.31°)
OKLaboklab(61.27% 0.1336 -0.0511)
OKLCHoklch(61.27% 0.143 339.1)
XYZxyz(30.5979, 20.9847, 35.6898)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EA0 #5EBA78
analogous
#A65EBA #BA5EA0 #BA5E72
triadic
#BA5EA0 #A0BA5E #5EA0BA
tetradic
#BA5EA0 #BAA65E #5EBA78 #5E72BA
square
#BA5EA0 #BAA65E #5EBA78 #5E72BA
split-complementary
#BA5EA0 #72BA5E #5EBAA6
monochromatic
#6E2F5D #994280 #BA5EA0 #CC89B9 #DFB4D3

Accessibility & contrast

On white

4.04
#BA5EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BA5EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EA0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EA0#FFFFFF#000000##000000
##BA5EA01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6175A2
Deuteranopia (green-blind)
#7B849E
Tritanopia (blue-blind)
#C36078
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba5ea0;
/* rgb */ color: rgb(186, 94, 160);
/* oklch */ color: oklch(61.3% 0.143 339.1);
Tailwind
colors: {
  custom: {
    50: '#d18fbc',
    500: '#ba5ea0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ea0;
$custom-light: #d18fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ea0",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 316.957,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.14306,
    "h": 339.1
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#BA5EA0
secondary
#A7CDB1
accent
#D07A58
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140D12
muted
#837D81

Preview Lab

Preview with #BA5EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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