#BA4062#BA4062

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

Color values

HEX#BA4062
RGBrgb(186, 64, 98)
HSLhsl(343, 49%, 49%)
HSVhsv(343, 66%, 73%)
CMYKcmyk(0%, 65.6%, 47.3%, 27.1%)
CIE-LABlab(45.62, 51.69, 7.34)
CIE-LCHlch(45.62, 52.20, 8.08°)
OKLaboklab(55.16% 0.1574 0.0192)
OKLCHoklch(55.16% 0.159 7)
XYZxyz(24.2896, 14.9908, 13.1673)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4062 #40BA98
analogous
#BA409F #BA4062 #BA5B40
triadic
#BA4062 #62BA40 #4062BA
tetradic
#BA4062 #9FBA40 #40BA98 #5B40BA
square
#BA4062 #9FBA40 #40BA98 #5B40BA
split-complementary
#BA4062 #40BA5B #409FBA
monochromatic
#5F2132 #8C304A #BA4062 #CC6B86 #DC99AB

Accessibility & contrast

On white

5.25
#BA4062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA4062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4062
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4062#FFFFFF#000000##FFFFFF
##BA40621.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5D63
Deuteranopia (green-blind)
#7B755F
Tritanopia (blue-blind)
#CA2E4D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba4062;
/* rgb */ color: rgb(186, 64, 98);
/* oklch */ color: oklch(55.2% 0.159 7.0);
Tailwind
colors: {
  custom: {
    50: '#d47c8e',
    500: '#ba4062',
    950: '#000000',
  },
}
SCSS
$custom: #ba4062;
$custom-light: #d47c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4062",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 343.279,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.15858,
    "h": 7
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#BA4062
secondary
#8EC8B8
accent
#D8B24F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA4062

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

Preview Lab → · Contrast checker → · Palette generator →

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