#BA395B#BA395B

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

Color values

HEX#BA395B
RGBrgb(186, 57, 91)
HSLhsl(344, 53%, 48%)
HSVhsv(344, 69%, 73%)
CMYKcmyk(0%, 69.4%, 51.1%, 27.1%)
CIE-LABlab(44.41, 53.89, 9.95)
CIE-LCHlch(44.41, 54.80, 10.46°)
OKLaboklab(54.2% 0.1638 0.0256)
OKLCHoklch(54.2% 0.166 8.9)
XYZxyz(23.6032, 14.1238, 11.3788)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA395B #39BA98
analogous
#BA399B #BA395B #BA5839
triadic
#BA395B #5BBA39 #395BBA
tetradic
#BA395B #9BBA39 #39BA98 #5839BA
square
#BA395B #9BBA39 #39BA98 #5839BA
split-complementary
#BA395B #39BA58 #399BBA
monochromatic
#5C1C2D #8B2B44 #BA395B #CF617E #DD90A5

Accessibility & contrast

On white

5.49
#BA395B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA395B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA395B#FFFFFF#000000##FFFFFF
##BA395B1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595C
Deuteranopia (green-blind)
#797358
Tritanopia (blue-blind)
#CB2147
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba395b;
/* rgb */ color: rgb(186, 57, 91);
/* oklch */ color: oklch(54.2% 0.166 8.9);
Tailwind
colors: {
  custom: {
    50: '#d47889',
    500: '#ba395b',
    950: '#000000',
  },
}
SCSS
$custom: #ba395b;
$custom-light: #d47889;
$custom-dark: #000000;
JSON
{
  "hex": "#ba395b",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 91
  },
  "hsl": {
    "h": 344.186,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.16578,
    "h": 8.9
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#BA395B
secondary
#87C8B7
accent
#DCB64B
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA395B

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

Preview Lab → · Contrast checker → · Palette generator →

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