#BA269A#BA269A

#BA269A is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.0% C 0.214 H 338.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA269A
RGBrgb(186, 38, 154)
HSLhsl(313, 66%, 44%)
HSVhsv(313, 80%, 73%)
CMYKcmyk(0%, 79.6%, 17.2%, 27.1%)
CIE-LABlab(44.46, 67.16, -28.57)
CIE-LCHlch(44.46, 72.98, 336.95°)
OKLaboklab(54.97% 0.1997 -0.0775)
OKLCHoklch(54.97% 0.214 338.8)
XYZxyz(26.7763, 14.1611, 31.8888)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA269A #26BA46
analogous
#9026BA #BA269A #BA2650
triadic
#BA269A #9ABA26 #269ABA
tetradic
#BA269A #BA9026 #26BA46 #2650BA
square
#BA269A #BA9026 #26BA46 #2650BA
split-complementary
#BA269A #50BA26 #26BA90
monochromatic
#541146 #871C70 #BA269A #D944B9 #E377CC

Accessibility & contrast

On white

5.48
#BA269A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA269A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA269A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA269A#FFFFFF#000000##FFFFFF
##BA269A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9D
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#C52E5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba269a;
/* rgb */ color: rgb(186, 38, 154);
/* oklch */ color: oklch(55.0% 0.214 338.8);
Tailwind
colors: {
  custom: {
    50: '#d372b8',
    500: '#ba269a',
    950: '#000000',
  },
}
SCSS
$custom: #ba269a;
$custom-light: #d372b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba269a",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 312.973,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.21423,
    "h": 338.8
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#BA269A
secondary
#71CB84
accent
#E9643F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA269A

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

Preview Lab → · Contrast checker → · Palette generator →

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