#BA288E#BA288E

#BA288E is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.5% C 0.205 H 343.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA288E
RGBrgb(186, 40, 142)
HSLhsl(318, 65%, 44%)
HSVhsv(318, 78%, 73%)
CMYKcmyk(0%, 78.5%, 23.7%, 27.1%)
CIE-LABlab(44.11, 65.04, -21.87)
CIE-LCHlch(44.11, 68.62, 341.41°)
OKLaboklab(54.54% 0.1965 -0.0585)
OKLCHoklch(54.54% 0.205 343.4)
XYZxyz(25.8920, 13.9125, 26.9078)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA288E #28BA54
analogous
#9D28BA #BA288E #BA2845
triadic
#BA288E #8EBA28 #288EBA
tetradic
#BA288E #BA9D28 #28BA54 #2845BA
square
#BA288E #BA9D28 #28BA54 #2845BA
split-complementary
#BA288E #45BA28 #28BA9D
monochromatic
#551241 #881D68 #BA288E #D848AC #E27AC3

Accessibility & contrast

On white

5.55
#BA288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA288E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA288E#FFFFFF#000000##FFFFFF
##BA288E1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5991
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#C62859
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba288e;
/* rgb */ color: rgb(186, 40, 142);
/* oklch */ color: oklch(54.5% 0.205 343.4);
Tailwind
colors: {
  custom: {
    50: '#d372af',
    500: '#ba288e',
    950: '#000000',
  },
}
SCSS
$custom: #ba288e;
$custom-light: #d372af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba288e",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 318.082,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.20501,
    "h": 343.4
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#BA288E
secondary
#73CA8E
accent
#E87340
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA288E

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

Preview Lab → · Contrast checker → · Palette generator →

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