#BA395F#BA395F

#BA395F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.166 H 6.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA395F
RGBrgb(186, 57, 95)
HSLhsl(342, 53%, 48%)
HSVhsv(342, 69%, 73%)
CMYKcmyk(0%, 69.4%, 48.9%, 27.1%)
CIE-LABlab(44.51, 54.24, 7.62)
CIE-LCHlch(44.51, 54.77, 7.99°)
OKLaboklab(54.31% 0.1653 0.0199)
OKLCHoklch(54.31% 0.166 6.9)
XYZxyz(23.7803, 14.1947, 12.3119)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA395F #39BA94
analogous
#BA399F #BA395F #BA5439
triadic
#BA395F #5FBA39 #395FBA
tetradic
#BA395F #9FBA39 #39BA94 #5439BA
square
#BA395F #9FBA39 #39BA94 #5439BA
split-complementary
#BA395F #39BA54 #399FBA
monochromatic
#5C1C2F #8B2B47 #BA395F #CF6182 #DD90A7

Accessibility & contrast

On white

5.47
#BA395F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA395F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA395F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA395F#FFFFFF#000000##FFFFFF
##BA395F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575960
Deuteranopia (green-blind)
#78735C
Tritanopia (blue-blind)
#CA2348
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba395f;
/* rgb */ color: rgb(186, 57, 95);
/* oklch */ color: oklch(54.3% 0.166 6.9);
Tailwind
colors: {
  custom: {
    50: '#d4788c',
    500: '#ba395f',
    950: '#000000',
  },
}
SCSS
$custom: #ba395f;
$custom-light: #d4788c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba395f",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 95
  },
  "hsl": {
    "h": 342.326,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.16649,
    "h": 6.9
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#BA395F
secondary
#87C8B5
accent
#DCB24B
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA395F

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

Preview Lab → · Contrast checker → · Palette generator →

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