#BA266D#BA266D

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

Color values

HEX#BA266D
RGBrgb(186, 38, 109)
HSLhsl(331, 66%, 44%)
HSVhsv(331, 80%, 73%)
CMYKcmyk(0%, 79.6%, 41.4%, 27.1%)
CIE-LABlab(42.66, 61.88, -3.76)
CIE-LCHlch(42.66, 61.99, 356.52°)
OKLaboklab(53.08% 0.1904 -0.0091)
OKLCHoklch(53.08% 0.191 357.3)
XYZxyz(23.7049, 12.9326, 15.7130)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA266D #26BA73
analogous
#BA26B7 #BA266D #BA2926
triadic
#BA266D #6DBA26 #266DBA
tetradic
#BA266D #B7BA26 #26BA73 #2926BA
square
#BA266D #B7BA26 #26BA73 #2926BA
split-complementary
#BA266D #26BA29 #26B7BA
monochromatic
#541131 #871C4F #BA266D #D9448C #E377AB

Accessibility & contrast

On white

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

On black

3.59
#BA266D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA266D#FFFFFF#000000##FFFFFF
##BA266D1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536F
Deuteranopia (green-blind)
#706F6A
Tritanopia (blue-blind)
#CA0747
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba266d;
/* rgb */ color: rgb(186, 38, 109);
/* oklch */ color: oklch(53.1% 0.191 357.3);
Tailwind
colors: {
  custom: {
    50: '#d47196',
    500: '#ba266d',
    950: '#000000',
  },
}
SCSS
$custom: #ba266d;
$custom-light: #d47196;
$custom-dark: #000000;
JSON
{
  "hex": "#ba266d",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 331.216,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.19059,
    "h": 357.3
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#BA266D
secondary
#71CBA0
accent
#E9973F
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA266D

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

Preview Lab → · Contrast checker → · Palette generator →

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