#BA2697#BA2697

#BA2697 is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.8% C 0.212 H 339.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA2697
RGBrgb(186, 38, 151)
HSLhsl(314, 66%, 44%)
HSVhsv(314, 80%, 73%)
CMYKcmyk(0%, 79.6%, 18.8%, 27.1%)
CIE-LABlab(44.32, 66.75, -26.98)
CIE-LCHlch(44.32, 72.00, 337.99°)
OKLaboklab(54.83% 0.1994 -0.073)
OKLCHoklch(54.83% 0.212 339.9)
XYZxyz(26.5295, 14.0624, 30.5893)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2697 #26BA49
analogous
#9326BA #BA2697 #BA264D
triadic
#BA2697 #97BA26 #2697BA
tetradic
#BA2697 #BA9326 #26BA49 #264DBA
square
#BA2697 #BA9326 #26BA49 #264DBA
split-complementary
#BA2697 #4DBA26 #26BA93
monochromatic
#541144 #871C6E #BA2697 #D944B6 #E377CA

Accessibility & contrast

On white

5.51
#BA2697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA2697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2697
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2697#FFFFFF#000000##FFFFFF
##BA26971.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#647194
Tritanopia (blue-blind)
#C52C5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2697;
/* rgb */ color: rgb(186, 38, 151);
/* oklch */ color: oklch(54.8% 0.212 339.9);
Tailwind
colors: {
  custom: {
    50: '#d372b6',
    500: '#ba2697',
    950: '#000000',
  },
}
SCSS
$custom: #ba2697;
$custom-light: #d372b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2697",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 314.189,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.21233,
    "h": 339.9
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#BA2697
secondary
#71CB86
accent
#E9673F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2697

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

Preview Lab → · Contrast checker → · Palette generator →

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