#BA266E#BA266E

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

Color values

HEX#BA266E
RGBrgb(186, 38, 110)
HSLhsl(331, 66%, 44%)
HSVhsv(331, 80%, 73%)
CMYKcmyk(0%, 79.6%, 40.9%, 27.1%)
CIE-LABlab(42.69, 61.98, -4.34)
CIE-LCHlch(42.69, 62.13, 356.00°)
OKLaboklab(53.12% 0.1907 -0.0106)
OKLCHoklch(53.12% 0.191 356.8)
XYZxyz(23.7590, 12.9542, 15.9981)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA266E #26BA72
analogous
#BA26B8 #BA266E #BA2826
triadic
#BA266E #6EBA26 #266EBA
tetradic
#BA266E #B8BA26 #26BA72 #2826BA
square
#BA266E #B8BA26 #26BA72 #2826BA
split-complementary
#BA266E #26BA28 #26B8BA
monochromatic
#541132 #871C50 #BA266E #D9448D #E377AC

Accessibility & contrast

On white

5.85
#BA266E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA266E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA266E#FFFFFF#000000##FFFFFF
##BA266E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#706F6B
Tritanopia (blue-blind)
#C90847
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba266e;
/* rgb */ color: rgb(186, 38, 110);
/* oklch */ color: oklch(53.1% 0.191 356.8);
Tailwind
colors: {
  custom: {
    50: '#d47197',
    500: '#ba266e',
    950: '#000000',
  },
}
SCSS
$custom: #ba266e;
$custom-light: #d47197;
$custom-dark: #000000;
JSON
{
  "hex": "#ba266e",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 330.811,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53116,
    "c": 0.19098,
    "h": 356.8
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#BA266E
secondary
#71CB9F
accent
#E9963F
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA266E

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

Preview Lab → · Contrast checker → · Palette generator →

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