#BA266B#BA266B

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

Color values

HEX#BA266B
RGBrgb(186, 38, 107)
HSLhsl(332, 66%, 44%)
HSVhsv(332, 80%, 73%)
CMYKcmyk(0%, 79.6%, 42.5%, 27.1%)
CIE-LABlab(42.60, 61.68, -2.61)
CIE-LCHlch(42.60, 61.74, 357.57°)
OKLaboklab(53.01% 0.1898 -0.0061)
OKLCHoklch(53.01% 0.19 358.2)
XYZxyz(23.5985, 12.8900, 15.1524)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA266B #26BA75
analogous
#BA26B5 #BA266B #BA2B26
triadic
#BA266B #6BBA26 #266BBA
tetradic
#BA266B #B5BA26 #26BA75 #2B26BA
square
#BA266B #B5BA26 #26BA75 #2B26BA
split-complementary
#BA266B #26BA2B #26B5BA
monochromatic
#541131 #871C4E #BA266B #D9448A #E377AA

Accessibility & contrast

On white

5.87
#BA266B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA266B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA266B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA266B#FFFFFF#000000##FFFFFF
##BA266B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#706F68
Tritanopia (blue-blind)
#CA0446
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba266b;
/* rgb */ color: rgb(186, 38, 107);
/* oklch */ color: oklch(53.0% 0.190 358.2);
Tailwind
colors: {
  custom: {
    50: '#d47195',
    500: '#ba266b',
    950: '#000000',
  },
}
SCSS
$custom: #ba266b;
$custom-light: #d47195;
$custom-dark: #000000;
JSON
{
  "hex": "#ba266b",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 332.027,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.18985,
    "h": 358.2
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#BA266B
secondary
#71CBA1
accent
#E99A3F
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA266B

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

Preview Lab → · Contrast checker → · Palette generator →

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