#BA395A#BA395A

#BA395A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.166 H 9.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA395A
RGBrgb(186, 57, 90)
HSLhsl(345, 53%, 48%)
HSVhsv(345, 69%, 73%)
CMYKcmyk(0%, 69.4%, 51.6%, 27.1%)
CIE-LABlab(44.39, 53.80, 10.53)
CIE-LCHlch(44.39, 54.83, 11.08°)
OKLaboklab(54.18% 0.1634 0.027)
OKLCHoklch(54.18% 0.166 9.4)
XYZxyz(23.5603, 14.1067, 11.1531)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA395A #39BA99
analogous
#BA399A #BA395A #BA5839
triadic
#BA395A #5ABA39 #395ABA
tetradic
#BA395A #9ABA39 #39BA99 #5839BA
square
#BA395A #9ABA39 #39BA99 #5839BA
split-complementary
#BA395A #39BA58 #399ABA
monochromatic
#5C1C2D #8B2B43 #BA395A #CF617D #DD90A4

Accessibility & contrast

On white

5.50
#BA395A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA395A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA395A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA395A#FFFFFF#000000##FFFFFF
##BA395A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58585B
Deuteranopia (green-blind)
#797357
Tritanopia (blue-blind)
#CB2046
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba395a;
/* rgb */ color: rgb(186, 57, 90);
/* oklch */ color: oklch(54.2% 0.166 9.4);
Tailwind
colors: {
  custom: {
    50: '#d47888',
    500: '#ba395a',
    950: '#000000',
  },
}
SCSS
$custom: #ba395a;
$custom-light: #d47888;
$custom-dark: #000000;
JSON
{
  "hex": "#ba395a",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 90
  },
  "hsl": {
    "h": 344.651,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.16562,
    "h": 9.4
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#BA395A
secondary
#87C8B7
accent
#DCB74B
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA395A

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

Preview Lab → · Contrast checker → · Palette generator →

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