#BA269F#BA269F

#BA269F is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.2% C 0.217 H 337.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA269F
RGBrgb(186, 38, 159)
HSLhsl(311, 66%, 44%)
HSVhsv(311, 80%, 73%)
CMYKcmyk(0%, 79.6%, 14.5%, 27.1%)
CIE-LABlab(44.70, 67.84, -31.19)
CIE-LCHlch(44.70, 74.67, 335.31°)
OKLaboklab(55.23% 0.2002 -0.085)
OKLCHoklch(55.23% 0.217 337)
XYZxyz(27.2014, 14.3312, 34.1278)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA269F #26BA41
analogous
#8B26BA #BA269F #BA2655
triadic
#BA269F #9FBA26 #269FBA
tetradic
#BA269F #BA8B26 #26BA41 #2655BA
square
#BA269F #BA8B26 #26BA41 #2655BA
split-complementary
#BA269F #55BA26 #26BA8B
monochromatic
#541148 #871C74 #BA269F #D944BE #E377D0

Accessibility & contrast

On white

5.43
#BA269F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA269F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA269F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA269F#FFFFFF#000000##FFFFFF
##BA269F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5CA2
Deuteranopia (green-blind)
#60729C
Tritanopia (blue-blind)
#C43162
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba269f;
/* rgb */ color: rgb(186, 38, 159);
/* oklch */ color: oklch(55.2% 0.217 337.0);
Tailwind
colors: {
  custom: {
    50: '#d372bb',
    500: '#ba269f',
    950: '#000000',
  },
}
SCSS
$custom: #ba269f;
$custom-light: #d372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba269f",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 310.946,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.21747,
    "h": 337
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#BA269F
secondary
#71CB81
accent
#E95E3F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA269F

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

Preview Lab → · Contrast checker → · Palette generator →

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