#BA285C#BA285C

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

Color values

HEX#BA285C
RGBrgb(186, 40, 92)
HSLhsl(339, 65%, 44%)
HSVhsv(339, 78%, 73%)
CMYKcmyk(0%, 78.5%, 50.5%, 27.1%)
CIE-LABlab(42.36, 59.78, 6.43)
CIE-LCHlch(42.36, 60.12, 6.14°)
OKLaboklab(52.69% 0.1828 0.0169)
OKLCHoklch(52.69% 0.184 5.3)
XYZxyz(22.9423, 12.7326, 11.3727)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA285C #28BA86
analogous
#BA28A5 #BA285C #BA3D28
triadic
#BA285C #5CBA28 #285CBA
tetradic
#BA285C #A5BA28 #28BA86 #3D28BA
square
#BA285C #A5BA28 #28BA86 #3D28BA
split-complementary
#BA285C #28BA3D #28A5BA
monochromatic
#55122A #881D43 #BA285C #D8487B #E27A9F

Accessibility & contrast

On white

5.92
#BA285C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA285C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA285C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA285C#FFFFFF#000000##FFFFFF
##BA285C1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525D
Deuteranopia (green-blind)
#746E59
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba285c;
/* rgb */ color: rgb(186, 40, 92);
/* oklch */ color: oklch(52.7% 0.184 5.3);
Tailwind
colors: {
  custom: {
    50: '#d57189',
    500: '#ba285c',
    950: '#000000',
  },
}
SCSS
$custom: #ba285c;
$custom-light: #d57189;
$custom-dark: #000000;
JSON
{
  "hex": "#ba285c",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 338.63,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.18358,
    "h": 5.3
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#BA285C
secondary
#73CAAB
accent
#E8AC40
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA285C

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

Preview Lab → · Contrast checker → · Palette generator →

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