#BA2A68#BA2A68

#BA2A68 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.185 H 360.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA2A68
RGBrgb(186, 42, 104)
HSLhsl(334, 63%, 45%)
HSVhsv(334, 77%, 73%)
CMYKcmyk(0%, 77.4%, 44.1%, 27.1%)
CIE-LABlab(42.91, 60.24, -0.28)
CIE-LCHlch(42.91, 60.25, 359.73°)
OKLaboklab(53.21% 0.1851 -0.0001)
OKLCHoklch(53.21% 0.185 0)
XYZxyz(23.5782, 13.0976, 14.3805)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A68 #2ABA7C
analogous
#BA2AB0 #BA2A68 #BA342A
triadic
#BA2A68 #68BA2A #2A68BA
tetradic
#BA2A68 #B0BA2A #2ABA7C #342ABA
square
#BA2A68 #B0BA2A #2ABA7C #342ABA
split-complementary
#BA2A68 #2ABA34 #2AB0BA
monochromatic
#561330 #881F4C #BA2A68 #D64B87 #E27DA8

Accessibility & contrast

On white

5.80
#BA2A68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA2A68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A68
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A68#FFFFFF#000000##FFFFFF
##BA2A681.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5469
Deuteranopia (green-blind)
#726F65
Tritanopia (blue-blind)
#CA0B46
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2a68;
/* rgb */ color: rgb(186, 42, 104);
/* oklch */ color: oklch(53.2% 0.185 360.0);
Tailwind
colors: {
  custom: {
    50: '#d47293',
    500: '#ba2a68',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a68;
$custom-light: #d47293;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a68",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 334.167,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.18508,
    "h": 360
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#BA2A68
secondary
#76CAA6
accent
#E69F42
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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