#BA4065#BA4065

#BA4065 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.2% C 0.159 H 5.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA4065
RGBrgb(186, 64, 101)
HSLhsl(342, 49%, 49%)
HSVhsv(342, 66%, 73%)
CMYKcmyk(0%, 65.6%, 45.7%, 27.1%)
CIE-LABlab(45.70, 51.97, 5.61)
CIE-LCHlch(45.70, 52.27, 6.16°)
OKLaboklab(55.25% 0.1585 0.0149)
OKLCHoklch(55.25% 0.159 5.4)
XYZxyz(24.4339, 15.0485, 13.9273)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4065 #40BA95
analogous
#BA40A2 #BA4065 #BA5840
triadic
#BA4065 #65BA40 #4065BA
tetradic
#BA4065 #A2BA40 #40BA95 #5840BA
square
#BA4065 #A2BA40 #40BA95 #5840BA
split-complementary
#BA4065 #40BA58 #40A2BA
monochromatic
#5F2134 #8C304C #BA4065 #CC6B89 #DC99AD

Accessibility & contrast

On white

5.24
#BA4065 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA4065 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4065
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4065#FFFFFF#000000##FFFFFF
##BA40651.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5D66
Deuteranopia (green-blind)
#7A7562
Tritanopia (blue-blind)
#CA2F4F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba4065;
/* rgb */ color: rgb(186, 64, 101);
/* oklch */ color: oklch(55.2% 0.159 5.4);
Tailwind
colors: {
  custom: {
    50: '#d47c90',
    500: '#ba4065',
    950: '#000000',
  },
}
SCSS
$custom: #ba4065;
$custom-light: #d47c90;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4065",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 101
  },
  "hsl": {
    "h": 341.803,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.15923,
    "h": 5.4
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#BA4065
secondary
#8EC8B6
accent
#D8AF4F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA4065

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

Preview Lab → · Contrast checker → · Palette generator →

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