#BA266A#BA266A

#BA266A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.189 H 358.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA266A
RGBrgb(186, 38, 106)
HSLhsl(332, 66%, 44%)
HSVhsv(332, 80%, 73%)
CMYKcmyk(0%, 79.6%, 43%, 27.1%)
CIE-LABlab(42.57, 61.59, -2.04)
CIE-LCHlch(42.57, 61.62, 358.11°)
OKLaboklab(52.98% 0.1894 -0.0046)
OKLCHoklch(52.98% 0.189 358.6)
XYZxyz(23.5462, 12.8691, 14.8769)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA266A #26BA76
analogous
#BA26B4 #BA266A #BA2C26
triadic
#BA266A #6ABA26 #266ABA
tetradic
#BA266A #B4BA26 #26BA76 #2C26BA
square
#BA266A #B4BA26 #26BA76 #2C26BA
split-complementary
#BA266A #26BA2C #26B4BA
monochromatic
#541130 #871C4D #BA266A #D94489 #E377A9

Accessibility & contrast

On white

5.88
#BA266A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA266A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA266A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA266A#FFFFFF#000000##FFFFFF
##BA266A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536C
Deuteranopia (green-blind)
#716E67
Tritanopia (blue-blind)
#CA0345
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba266a;
/* rgb */ color: rgb(186, 38, 106);
/* oklch */ color: oklch(53.0% 0.189 358.6);
Tailwind
colors: {
  custom: {
    50: '#d47194',
    500: '#ba266a',
    950: '#000000',
  },
}
SCSS
$custom: #ba266a;
$custom-light: #d47194;
$custom-dark: #000000;
JSON
{
  "hex": "#ba266a",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 332.432,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.18949,
    "h": 358.6
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#BA266A
secondary
#71CBA2
accent
#E99B3F
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA266A

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

Preview Lab → · Contrast checker → · Palette generator →

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