#BA286F#BA286F

#BA286F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.190 H 356.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA286F
RGBrgb(186, 40, 111)
HSLhsl(331, 65%, 44%)
HSVhsv(331, 78%, 73%)
CMYKcmyk(0%, 78.5%, 40.3%, 27.1%)
CIE-LABlab(42.92, 61.51, -4.62)
CIE-LCHlch(42.92, 61.69, 355.71°)
OKLaboklab(53.3% 0.1892 -0.0114)
OKLCHoklch(53.3% 0.19 356.6)
XYZxyz(23.8795, 13.1075, 16.3084)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA286F #28BA73
analogous
#BA28B8 #BA286F #BA2A28
triadic
#BA286F #6FBA28 #286FBA
tetradic
#BA286F #B8BA28 #28BA73 #2A28BA
square
#BA286F #B8BA28 #28BA73 #2A28BA
split-complementary
#BA286F #28BA2A #28B8BA
monochromatic
#551233 #881D51 #BA286F #D8488E #E27AAD

Accessibility & contrast

On white

5.80
#BA286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA286F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA286F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA286F#FFFFFF#000000##FFFFFF
##BA286F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485471
Deuteranopia (green-blind)
#706F6C
Tritanopia (blue-blind)
#C90F48
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba286f;
/* rgb */ color: rgb(186, 40, 111);
/* oklch */ color: oklch(53.3% 0.190 356.6);
Tailwind
colors: {
  custom: {
    50: '#d47198',
    500: '#ba286f',
    950: '#000000',
  },
}
SCSS
$custom: #ba286f;
$custom-light: #d47198;
$custom-dark: #000000;
JSON
{
  "hex": "#ba286f",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 330.822,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.18952,
    "h": 356.6
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#BA286F
secondary
#73CAA0
accent
#E89640
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA286F

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

Preview Lab → · Contrast checker → · Palette generator →

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