#BA269C#BA269C

#BA269C is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.1% C 0.216 H 338.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA269C
RGBrgb(186, 38, 156)
HSLhsl(312, 66%, 44%)
HSVhsv(312, 80%, 73%)
CMYKcmyk(0%, 79.6%, 16.1%, 27.1%)
CIE-LABlab(44.56, 67.43, -29.62)
CIE-LCHlch(44.56, 73.65, 336.28°)
OKLaboklab(55.08% 0.1999 -0.0805)
OKLCHoklch(55.08% 0.216 338.1)
XYZxyz(26.9442, 14.2283, 32.7734)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA269C #26BA44
analogous
#8E26BA #BA269C #BA2652
triadic
#BA269C #9CBA26 #269CBA
tetradic
#BA269C #BA8E26 #26BA44 #2652BA
square
#BA269C #BA8E26 #26BA44 #2652BA
split-complementary
#BA269C #52BA26 #26BA8E
monochromatic
#541147 #871C71 #BA269C #D944BB #E377CD

Accessibility & contrast

On white

5.46
#BA269C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA269C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA269C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA269C#FFFFFF#000000##FFFFFF
##BA269C1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#627199
Tritanopia (blue-blind)
#C52F60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba269c;
/* rgb */ color: rgb(186, 38, 156);
/* oklch */ color: oklch(55.1% 0.216 338.1);
Tailwind
colors: {
  custom: {
    50: '#d372b9',
    500: '#ba269c',
    950: '#000000',
  },
}
SCSS
$custom: #ba269c;
$custom-light: #d372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba269c",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 312.162,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.21551,
    "h": 338.1
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

primary
#BA269C
secondary
#71CB83
accent
#E9613F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA269C

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

Preview Lab → · Contrast checker → · Palette generator →

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