#BA284A#BA284A

#BA284A is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.181 H 13.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BA284A
RGBrgb(186, 40, 74)
HSLhsl(346, 65%, 44%)
HSVhsv(346, 78%, 73%)
CMYKcmyk(0%, 78.5%, 60.2%, 27.1%)
CIE-LABlab(41.93, 58.44, 17.14)
CIE-LCHlch(41.93, 60.90, 16.34°)
OKLaboklab(52.24% 0.1759 0.0422)
OKLCHoklch(52.24% 0.181 13.5)
XYZxyz(22.2468, 12.4544, 7.7098)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA284A #28BA98
analogous
#BA2893 #BA284A #BA4F28
triadic
#BA284A #4ABA28 #284ABA
tetradic
#BA284A #93BA28 #28BA98 #4F28BA
square
#BA284A #93BA28 #28BA98 #4F28BA
split-complementary
#BA284A #28BA4F #2893BA
monochromatic
#551222 #881D36 #BA284A #D84869 #E27A92

Accessibility & contrast

On white

6.02
#BA284A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#BA284A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA284A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA284A#FFFFFF#000000##FFFFFF
##BA284A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504A
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba284a;
/* rgb */ color: rgb(186, 40, 74);
/* oklch */ color: oklch(52.2% 0.181 13.5);
Tailwind
colors: {
  custom: {
    50: '#d6707c',
    500: '#ba284a',
    950: '#000000',
  },
}
SCSS
$custom: #ba284a;
$custom-light: #d6707c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba284a",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 346.027,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.18091,
    "h": 13.5
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#BA284A
secondary
#73CAB6
accent
#E8C140
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA284A

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

Preview Lab → · Contrast checker → · Palette generator →

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