#BA405F#BA405F

#BA405F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.1% C 0.158 H 8.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA405F
RGBrgb(186, 64, 95)
HSLhsl(345, 49%, 49%)
HSVhsv(345, 66%, 73%)
CMYKcmyk(0%, 65.6%, 48.9%, 27.1%)
CIE-LABlab(45.55, 51.41, 9.08)
CIE-LCHlch(45.55, 52.20, 10.01°)
OKLaboklab(55.08% 0.1563 0.0235)
OKLCHoklch(55.08% 0.158 8.6)
XYZxyz(24.1506, 14.9352, 12.4353)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA405F #40BA9B
analogous
#BA409C #BA405F #BA5E40
triadic
#BA405F #5FBA40 #405FBA
tetradic
#BA405F #9CBA40 #40BA9B #5E40BA
square
#BA405F #9CBA40 #40BA9B #5E40BA
split-complementary
#BA405F #40BA5E #409CBA
monochromatic
#5F2130 #8C3048 #BA405F #CC6B84 #DC99AA

Accessibility & contrast

On white

5.27
#BA405F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA405F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA405F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA405F#FFFFFF#000000##FFFFFF
##BA405F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C60
Deuteranopia (green-blind)
#7B755C
Tritanopia (blue-blind)
#CA2D4C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba405f;
/* rgb */ color: rgb(186, 64, 95);
/* oklch */ color: oklch(55.1% 0.158 8.6);
Tailwind
colors: {
  custom: {
    50: '#d47c8c',
    500: '#ba405f',
    950: '#000000',
  },
}
SCSS
$custom: #ba405f;
$custom-light: #d47c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba405f",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 344.754,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55078,
    "c": 0.15803,
    "h": 8.6
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#BA405F
secondary
#8EC8B9
accent
#D8B64F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA405F

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

Preview Lab → · Contrast checker → · Palette generator →

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