#BA284C#BA284C

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

Color values

HEX#BA284C
RGBrgb(186, 40, 76)
HSLhsl(345, 65%, 44%)
HSVhsv(345, 78%, 73%)
CMYKcmyk(0%, 78.5%, 59.1%, 27.1%)
CIE-LABlab(41.97, 58.58, 15.94)
CIE-LCHlch(41.97, 60.71, 15.22°)
OKLaboklab(52.28% 0.1767 0.0395)
OKLCHoklch(52.28% 0.181 12.6)
XYZxyz(22.3153, 12.4818, 8.0703)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA284C #28BA96
analogous
#BA2895 #BA284C #BA4D28
triadic
#BA284C #4CBA28 #284CBA
tetradic
#BA284C #95BA28 #28BA96 #4D28BA
square
#BA284C #95BA28 #28BA96 #4D28BA
split-complementary
#BA284C #28BA4D #2895BA
monochromatic
#551223 #881D37 #BA284C #D8486B #E27A94

Accessibility & contrast

On white

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

On black

3.50
#BA284C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA284C#FFFFFF#000000##FFFFFF
##BA284C1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504C
Deuteranopia (green-blind)
#766E48
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba284c;
/* rgb */ color: rgb(186, 40, 76);
/* oklch */ color: oklch(52.3% 0.181 12.6);
Tailwind
colors: {
  custom: {
    50: '#d6707d',
    500: '#ba284c',
    950: '#000000',
  },
}
SCSS
$custom: #ba284c;
$custom-light: #d6707d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba284c",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 345.205,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.18106,
    "h": 12.6
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#BA284C
secondary
#73CAB5
accent
#E8BE40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA284C

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

Preview Lab → · Contrast checker → · Palette generator →

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