#BA5E8A#BA5E8A

#BA5E8A is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.4% C 0.129 H 351.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA5E8A
RGBrgb(186, 94, 138)
HSLhsl(331, 40%, 55%)
HSVhsv(331, 49%, 73%)
CMYKcmyk(0%, 49.5%, 25.8%, 27.1%)
CIE-LABlab(52.15, 42.22, -7.26)
CIE-LCHlch(52.15, 42.84, 350.24°)
OKLaboklab(60.43% 0.1273 -0.0187)
OKLCHoklch(60.43% 0.129 351.6)
XYZxyz(28.8408, 20.2819, 26.4357)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5E8A #5EBA8E
analogous
#BA5EB8 #BA5E8A #BA605E
triadic
#BA5E8A #8ABA5E #5E8ABA
tetradic
#BA5E8A #B8BA5E #5EBA8E #605EBA
square
#BA5E8A #B8BA5E #5EBA8E #605EBA
split-complementary
#BA5E8A #5EBA60 #5EB8BA
monochromatic
#6E2F4D #99426B #BA5E8A #CC89A9 #DFB4C8

Accessibility & contrast

On white

4.15
#BA5E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BA5E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5E8A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5E8A#FFFFFF#000000##000000
##BA5E8A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69728B
Deuteranopia (green-blind)
#818288
Tritanopia (blue-blind)
#C65A6E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba5e8a;
/* rgb */ color: rgb(186, 94, 138);
/* oklch */ color: oklch(60.4% 0.129 351.6);
Tailwind
colors: {
  custom: {
    50: '#d18eac',
    500: '#ba5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba5e8a;
$custom-light: #d18eac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5e8a",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 331.304,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.12865,
    "h": 351.6
  },
  "luminance": 0.20279
}

Semantic roles & 50–950 ramp

primary
#BA5E8A
secondary
#A7CDBB
accent
#D09758
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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