#BA395E#BA395E

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

Color values

HEX#BA395E
RGBrgb(186, 57, 94)
HSLhsl(343, 53%, 48%)
HSVhsv(343, 69%, 73%)
CMYKcmyk(0%, 69.4%, 49.5%, 27.1%)
CIE-LABlab(44.49, 54.15, 8.20)
CIE-LCHlch(44.49, 54.77, 8.61°)
OKLaboklab(54.28% 0.1649 0.0213)
OKLCHoklch(54.28% 0.166 7.4)
XYZxyz(23.7352, 14.1766, 12.0740)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA395E #39BA95
analogous
#BA399E #BA395E #BA5539
triadic
#BA395E #5EBA39 #395EBA
tetradic
#BA395E #9EBA39 #39BA95 #5539BA
square
#BA395E #9EBA39 #39BA95 #5539BA
split-complementary
#BA395E #39BA55 #399EBA
monochromatic
#5C1C2F #8B2B46 #BA395E #CF6181 #DD90A6

Accessibility & contrast

On white

5.48
#BA395E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA395E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA395E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA395E#FFFFFF#000000##FFFFFF
##BA395E1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595F
Deuteranopia (green-blind)
#79735B
Tritanopia (blue-blind)
#CA2248
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba395e;
/* rgb */ color: rgb(186, 57, 94);
/* oklch */ color: oklch(54.3% 0.166 7.4);
Tailwind
colors: {
  custom: {
    50: '#d4788b',
    500: '#ba395e',
    950: '#000000',
  },
}
SCSS
$custom: #ba395e;
$custom-light: #d4788b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba395e",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 94
  },
  "hsl": {
    "h": 342.791,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.1663,
    "h": 7.4
  },
  "luminance": 0.14174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA395E

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

Preview Lab → · Contrast checker → · Palette generator →

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