#BA385F#BA385F

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

Color values

HEX#BA385F
RGBrgb(186, 56, 95)
HSLhsl(342, 54%, 47%)
HSVhsv(342, 70%, 73%)
CMYKcmyk(0%, 69.9%, 48.9%, 27.1%)
CIE-LABlab(44.37, 54.62, 7.42)
CIE-LCHlch(44.37, 55.13, 7.73°)
OKLaboklab(54.21% 0.1665 0.0194)
OKLCHoklch(54.21% 0.168 6.6)
XYZxyz(23.7314, 14.0968, 12.2955)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA385F #38BA93
analogous
#BA38A0 #BA385F #BA5238
triadic
#BA385F #5FBA38 #385FBA
tetradic
#BA385F #A0BA38 #38BA93 #5238BA
square
#BA385F #A0BA38 #38BA93 #5238BA
split-complementary
#BA385F #38BA52 #38A0BA
monochromatic
#5C1C2F #8B2A47 #BA385F #CF6081 #DD8FA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA385F#FFFFFF#000000##FFFFFF
##BA385F1.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)
#565860
Deuteranopia (green-blind)
#78725C
Tritanopia (blue-blind)
#CA2148
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba385f;
/* rgb */ color: rgb(186, 56, 95);
/* oklch */ color: oklch(54.2% 0.168 6.6);
Tailwind
colors: {
  custom: {
    50: '#d4788c',
    500: '#ba385f',
    950: '#000000',
  },
}
SCSS
$custom: #ba385f;
$custom-light: #d4788c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba385f",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 342,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.16766,
    "h": 6.6
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#BA385F
secondary
#86C8B4
accent
#DDB14B
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA385F

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

Preview Lab → · Contrast checker → · Palette generator →

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