#BA385B#BA385B

#BA385B is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.1% C 0.167 H 8.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA385B
RGBrgb(186, 56, 91)
HSLhsl(344, 54%, 47%)
HSVhsv(344, 70%, 73%)
CMYKcmyk(0%, 69.9%, 51.1%, 27.1%)
CIE-LABlab(44.27, 54.28, 9.75)
CIE-LCHlch(44.27, 55.15, 10.19°)
OKLaboklab(54.1% 0.165 0.0251)
OKLCHoklch(54.1% 0.167 8.6)
XYZxyz(23.5542, 14.0259, 11.3624)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA385B #38BA97
analogous
#BA389C #BA385B #BA5638
triadic
#BA385B #5BBA38 #385BBA
tetradic
#BA385B #9CBA38 #38BA97 #5638BA
square
#BA385B #9CBA38 #38BA97 #5638BA
split-complementary
#BA385B #38BA56 #389CBA
monochromatic
#5C1C2D #8B2A44 #BA385B #CF607E #DD8FA4

Accessibility & contrast

On white

5.52
#BA385B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA385B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA385B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA385B#FFFFFF#000000##FFFFFF
##BA385B1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57585C
Deuteranopia (green-blind)
#797258
Tritanopia (blue-blind)
#CB1F46
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba385b;
/* rgb */ color: rgb(186, 56, 91);
/* oklch */ color: oklch(54.1% 0.167 8.6);
Tailwind
colors: {
  custom: {
    50: '#d47889',
    500: '#ba385b',
    950: '#000000',
  },
}
SCSS
$custom: #ba385b;
$custom-light: #d47889;
$custom-dark: #000000;
JSON
{
  "hex": "#ba385b",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 91
  },
  "hsl": {
    "h": 343.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54098,
    "c": 0.16692,
    "h": 8.6
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#BA385B
secondary
#86C8B6
accent
#DDB64B
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA385B

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

Preview Lab → · Contrast checker → · Palette generator →

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