#BA285A#BA285A

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

Color values

HEX#BA285A
RGBrgb(186, 40, 90)
HSLhsl(339, 65%, 44%)
HSVhsv(339, 78%, 73%)
CMYKcmyk(0%, 78.5%, 51.6%, 27.1%)
CIE-LABlab(42.30, 59.61, 7.61)
CIE-LCHlch(42.30, 60.10, 7.27°)
OKLaboklab(52.64% 0.1821 0.0198)
OKLCHoklch(52.64% 0.183 6.2)
XYZxyz(22.8560, 12.6981, 10.9183)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA285A #28BA88
analogous
#BA28A3 #BA285A #BA3F28
triadic
#BA285A #5ABA28 #285ABA
tetradic
#BA285A #A3BA28 #28BA88 #3F28BA
square
#BA285A #A3BA28 #28BA88 #3F28BA
split-complementary
#BA285A #28BA3F #28A3BA
monochromatic
#551229 #881D42 #BA285A #D84879 #E27A9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA285A#FFFFFF#000000##FFFFFF
##BA285A1.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)
#4E515B
Deuteranopia (green-blind)
#746E56
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba285a;
/* rgb */ color: rgb(186, 40, 90);
/* oklch */ color: oklch(52.6% 0.183 6.2);
Tailwind
colors: {
  custom: {
    50: '#d57188',
    500: '#ba285a',
    950: '#000000',
  },
}
SCSS
$custom: #ba285a;
$custom-light: #d57188;
$custom-dark: #000000;
JSON
{
  "hex": "#ba285a",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 339.452,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.18314,
    "h": 6.2
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#BA285A
secondary
#73CAAD
accent
#E8AE40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA285A

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

Preview Lab → · Contrast checker → · Palette generator →

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