#BA285F#BA285F

#BA285F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.184 H 3.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BA285F
RGBrgb(186, 40, 95)
HSLhsl(337, 65%, 44%)
HSVhsv(337, 78%, 73%)
CMYKcmyk(0%, 78.5%, 48.9%, 27.1%)
CIE-LABlab(42.44, 60.03, 4.66)
CIE-LCHlch(42.44, 60.21, 4.44°)
OKLaboklab(52.78% 0.1839 0.0125)
OKLCHoklch(52.78% 0.184 3.9)
XYZxyz(23.0761, 12.7861, 12.0771)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA285F #28BA83
analogous
#BA28A8 #BA285F #BA3A28
triadic
#BA285F #5FBA28 #285FBA
tetradic
#BA285F #A8BA28 #28BA83 #3A28BA
square
#BA285F #A8BA28 #28BA83 #3A28BA
split-complementary
#BA285F #28BA3A #28A8BA
monochromatic
#55122C #881D45 #BA285F #D8487E #E27AA1

Accessibility & contrast

On white

5.90
#BA285F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA285F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA285F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA285F#FFFFFF#000000##FFFFFF
##BA285F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#736E5C
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba285f;
/* rgb */ color: rgb(186, 40, 95);
/* oklch */ color: oklch(52.8% 0.184 3.9);
Tailwind
colors: {
  custom: {
    50: '#d5718c',
    500: '#ba285f',
    950: '#000000',
  },
}
SCSS
$custom: #ba285f;
$custom-light: #d5718c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba285f",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 337.397,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.18432,
    "h": 3.9
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#BA285F
secondary
#73CAAA
accent
#E8A940
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA285F

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

Preview Lab → · Contrast checker → · Palette generator →

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