#BA266C#BA266C

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

Color values

HEX#BA266C
RGBrgb(186, 38, 108)
HSLhsl(332, 66%, 44%)
HSVhsv(332, 80%, 73%)
CMYKcmyk(0%, 79.6%, 41.9%, 27.1%)
CIE-LABlab(42.63, 61.78, -3.19)
CIE-LCHlch(42.63, 61.86, 357.04°)
OKLaboklab(53.05% 0.1901 -0.0076)
OKLCHoklch(53.05% 0.19 357.7)
XYZxyz(23.6514, 12.9112, 15.4311)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA266C #26BA74
analogous
#BA26B6 #BA266C #BA2A26
triadic
#BA266C #6CBA26 #266CBA
tetradic
#BA266C #B6BA26 #26BA74 #2A26BA
square
#BA266C #B6BA26 #26BA74 #2A26BA
split-complementary
#BA266C #26BA2A #26B6BA
monochromatic
#541131 #871C4E #BA266C #D9448B #E377AA

Accessibility & contrast

On white

5.86
#BA266C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA266C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA266C#FFFFFF#000000##FFFFFF
##BA266C1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536E
Deuteranopia (green-blind)
#706F69
Tritanopia (blue-blind)
#CA0646
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba266c;
/* rgb */ color: rgb(186, 38, 108);
/* oklch */ color: oklch(53.0% 0.190 357.7);
Tailwind
colors: {
  custom: {
    50: '#d47196',
    500: '#ba266c',
    950: '#000000',
  },
}
SCSS
$custom: #ba266c;
$custom-light: #d47196;
$custom-dark: #000000;
JSON
{
  "hex": "#ba266c",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 331.622,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.19021,
    "h": 357.7
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

primary
#BA266C
secondary
#71CBA0
accent
#E9993F
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA266C

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

Preview Lab → · Contrast checker → · Palette generator →

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