#BA284B#BA284B

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

Color values

HEX#BA284B
RGBrgb(186, 40, 75)
HSLhsl(346, 65%, 44%)
HSVhsv(346, 78%, 73%)
CMYKcmyk(0%, 78.5%, 59.7%, 27.1%)
CIE-LABlab(41.95, 58.51, 16.54)
CIE-LCHlch(41.95, 60.80, 15.78°)
OKLaboklab(52.26% 0.1763 0.0408)
OKLCHoklch(52.26% 0.181 13)
XYZxyz(22.2808, 12.4680, 7.8886)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA284B #28BA97
analogous
#BA2894 #BA284B #BA4E28
triadic
#BA284B #4BBA28 #284BBA
tetradic
#BA284B #94BA28 #28BA97 #4E28BA
square
#BA284B #94BA28 #28BA97 #4E28BA
split-complementary
#BA284B #28BA4E #2894BA
monochromatic
#551222 #881D37 #BA284B #D8486A #E27A93

Accessibility & contrast

On white

6.01
#BA284B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA284B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA284B#FFFFFF#000000##FFFFFF
##BA284B1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504B
Deuteranopia (green-blind)
#766E47
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba284b;
/* rgb */ color: rgb(186, 40, 75);
/* oklch */ color: oklch(52.3% 0.181 13.0);
Tailwind
colors: {
  custom: {
    50: '#d6707d',
    500: '#ba284b',
    950: '#000000',
  },
}
SCSS
$custom: #ba284b;
$custom-light: #d6707d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba284b",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 75
  },
  "hsl": {
    "h": 345.616,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.18098,
    "h": 13
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA284B

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

Preview Lab → · Contrast checker → · Palette generator →

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