#BA274A#BA274A

#BA274A is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.2% C 0.182 H 13.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA274A
RGBrgb(186, 39, 74)
HSLhsl(346, 65%, 44%)
HSVhsv(346, 79%, 73%)
CMYKcmyk(0%, 79%, 60.2%, 27.1%)
CIE-LABlab(41.83, 58.73, 17.00)
CIE-LCHlch(41.83, 61.14, 16.14°)
OKLaboklab(52.16% 0.1769 0.0418)
OKLCHoklch(52.16% 0.182 13.3)
XYZxyz(22.2135, 12.3879, 7.6987)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA274A #27BA97
analogous
#BA2794 #BA274A #BA4E27
triadic
#BA274A #4ABA27 #274ABA
tetradic
#BA274A #94BA27 #27BA97 #4E27BA
square
#BA274A #94BA27 #27BA97 #4E27BA
split-complementary
#BA274A #27BA4E #2794BA
monochromatic
#551222 #871C36 #BA274A #D84669 #E37992

Accessibility & contrast

On white

6.04
#BA274A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#BA274A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA274A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA274A#FFFFFF#000000##FFFFFF
##BA274A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F4A
Deuteranopia (green-blind)
#766D46
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba274a;
/* rgb */ color: rgb(186, 39, 74);
/* oklch */ color: oklch(52.2% 0.182 13.3);
Tailwind
colors: {
  custom: {
    50: '#d6707c',
    500: '#ba274a',
    950: '#000000',
  },
}
SCSS
$custom: #ba274a;
$custom-light: #d6707c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba274a",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 345.714,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.18175,
    "h": 13.3
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#BA274A
secondary
#72CBB6
accent
#E8C040
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA274A

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

Preview Lab → · Contrast checker → · Palette generator →

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