#BA285B#BA285B

#BA285B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.183 H 5.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA285B
RGBrgb(186, 40, 91)
HSLhsl(339, 65%, 44%)
HSVhsv(339, 78%, 73%)
CMYKcmyk(0%, 78.5%, 51.1%, 27.1%)
CIE-LABlab(42.33, 59.69, 7.02)
CIE-LCHlch(42.33, 60.11, 6.71°)
OKLaboklab(52.67% 0.1824 0.0184)
OKLCHoklch(52.67% 0.183 5.7)
XYZxyz(22.8989, 12.7152, 11.1440)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA285B #28BA87
analogous
#BA28A4 #BA285B #BA3E28
triadic
#BA285B #5BBA28 #285BBA
tetradic
#BA285B #A4BA28 #28BA87 #3E28BA
square
#BA285B #A4BA28 #28BA87 #3E28BA
split-complementary
#BA285B #28BA3E #28A4BA
monochromatic
#55122A #881D42 #BA285B #D8487A #E27A9E

Accessibility & contrast

On white

5.93
#BA285B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA285B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA285B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA285B#FFFFFF#000000##FFFFFF
##BA285B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515C
Deuteranopia (green-blind)
#746E58
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba285b;
/* rgb */ color: rgb(186, 40, 91);
/* oklch */ color: oklch(52.7% 0.183 5.7);
Tailwind
colors: {
  custom: {
    50: '#d57189',
    500: '#ba285b',
    950: '#000000',
  },
}
SCSS
$custom: #ba285b;
$custom-light: #d57189;
$custom-dark: #000000;
JSON
{
  "hex": "#ba285b",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 339.041,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.18336,
    "h": 5.7
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#BA285B
secondary
#73CAAC
accent
#E8AD40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA285B

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

Preview Lab → · Contrast checker → · Palette generator →

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