#BA254A#BA254A

#BA254A is a mid, vivid red. Relative luminance 0.123; OKLCH L 52.0% C 0.183 H 13.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA254A
RGBrgb(186, 37, 74)
HSLhsl(345, 67%, 44%)
HSVhsv(345, 80%, 73%)
CMYKcmyk(0%, 80.1%, 60.2%, 27.1%)
CIE-LABlab(41.63, 59.30, 16.73)
CIE-LCHlch(41.63, 61.61, 15.76°)
OKLaboklab(52.02% 0.1787 0.0412)
OKLCHoklch(52.02% 0.183 13)
XYZxyz(22.1496, 12.2600, 7.6774)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA254A #25BA95
analogous
#BA2594 #BA254A #BA4B25
triadic
#BA254A #4ABA25 #254ABA
tetradic
#BA254A #94BA25 #25BA95 #4B25BA
square
#BA254A #94BA25 #25BA95 #4B25BA
split-complementary
#BA254A #25BA4B #2594BA
monochromatic
#541121 #871B36 #BA254A #DA4368 #E47691

Accessibility & contrast

On white

6.08
#BA254A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#BA254A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA254A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA254A#FFFFFF#000000##FFFFFF
##BA254A1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4A
Deuteranopia (green-blind)
#766D46
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba254a;
/* rgb */ color: rgb(186, 37, 74);
/* oklch */ color: oklch(52.0% 0.183 13.0);
Tailwind
colors: {
  custom: {
    50: '#d66f7c',
    500: '#ba254a',
    950: '#000000',
  },
}
SCSS
$custom: #ba254a;
$custom-light: #d66f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba254a",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 345.101,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.18338,
    "h": 13
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#BA254A
secondary
#70CBB4
accent
#EABF3E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA254A

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

Preview Lab → · Contrast checker → · Palette generator →

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