#BA4068#BA4068

#BA4068 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.160 H 3.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA4068
RGBrgb(186, 64, 104)
HSLhsl(340, 49%, 49%)
HSVhsv(340, 66%, 73%)
CMYKcmyk(0%, 65.6%, 44.1%, 27.1%)
CIE-LABlab(45.78, 52.27, 3.88)
CIE-LCHlch(45.78, 52.41, 4.25°)
OKLaboklab(55.33% 0.1596 0.0106)
OKLCHoklch(55.33% 0.16 3.8)
XYZxyz(24.5836, 15.1084, 14.7156)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4068 #40BA92
analogous
#BA40A5 #BA4068 #BA5540
triadic
#BA4068 #68BA40 #4068BA
tetradic
#BA4068 #A5BA40 #40BA92 #5540BA
square
#BA4068 #A5BA40 #40BA92 #5540BA
split-complementary
#BA4068 #40BA55 #40A5BA
monochromatic
#5F2135 #8C304F #BA4068 #CC6B8B #DC99AF

Accessibility & contrast

On white

5.22
#BA4068 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA4068 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4068
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4068#FFFFFF#000000##FFFFFF
##BA40681.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595D69
Deuteranopia (green-blind)
#7A7565
Tritanopia (blue-blind)
#CA3050
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba4068;
/* rgb */ color: rgb(186, 64, 104);
/* oklch */ color: oklch(55.3% 0.160 3.8);
Tailwind
colors: {
  custom: {
    50: '#d47c93',
    500: '#ba4068',
    950: '#000000',
  },
}
SCSS
$custom: #ba4068;
$custom-light: #d47c93;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4068",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 104
  },
  "hsl": {
    "h": 340.328,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55332,
    "c": 0.15997,
    "h": 3.8
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#BA4068
secondary
#8EC8B5
accent
#D8AB4F
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA4068

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

Preview Lab → · Contrast checker → · Palette generator →

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