#BA2698#BA2698

#BA2698 is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.9% C 0.213 H 339.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA2698
RGBrgb(186, 38, 152)
HSLhsl(314, 66%, 44%)
HSVhsv(314, 80%, 73%)
CMYKcmyk(0%, 79.6%, 18.3%, 27.1%)
CIE-LABlab(44.37, 66.89, -27.51)
CIE-LCHlch(44.37, 72.33, 337.64°)
OKLaboklab(54.88% 0.1995 -0.0745)
OKLCHoklch(54.88% 0.213 339.5)
XYZxyz(26.6111, 14.0950, 31.0188)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2698 #26BA48
analogous
#9226BA #BA2698 #BA264E
triadic
#BA2698 #98BA26 #2698BA
tetradic
#BA2698 #BA9226 #26BA48 #264EBA
square
#BA2698 #BA9226 #26BA48 #264EBA
split-complementary
#BA2698 #4EBA26 #26BA92
monochromatic
#541145 #871C6E #BA2698 #D944B7 #E377CA

Accessibility & contrast

On white

5.50
#BA2698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA2698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2698
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2698#FFFFFF#000000##FFFFFF
##BA26981.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#C52D5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2698;
/* rgb */ color: rgb(186, 38, 152);
/* oklch */ color: oklch(54.9% 0.213 339.5);
Tailwind
colors: {
  custom: {
    50: '#d372b6',
    500: '#ba2698',
    950: '#000000',
  },
}
SCSS
$custom: #ba2698;
$custom-light: #d372b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2698",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 313.784,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.21295,
    "h": 339.5
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2698

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

Preview Lab → · Contrast checker → · Palette generator →

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