#BA274B#BA274B

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

Color values

HEX#BA274B
RGBrgb(186, 39, 75)
HSLhsl(345, 65%, 44%)
HSVhsv(345, 79%, 73%)
CMYKcmyk(0%, 79%, 59.7%, 27.1%)
CIE-LABlab(41.85, 58.80, 16.40)
CIE-LCHlch(41.85, 61.05, 15.58°)
OKLaboklab(52.19% 0.1773 0.0405)
OKLCHoklch(52.19% 0.182 12.9)
XYZxyz(22.2475, 12.4014, 7.8775)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA274B #27BA96
analogous
#BA2795 #BA274B #BA4D27
triadic
#BA274B #4BBA27 #274BBA
tetradic
#BA274B #95BA27 #27BA96 #4D27BA
square
#BA274B #95BA27 #27BA96 #4D27BA
split-complementary
#BA274B #27BA4D #2795BA
monochromatic
#551222 #871C37 #BA274B #D8466A #E37993

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA274B#FFFFFF#000000##FFFFFF
##BA274B1.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)
#514F4B
Deuteranopia (green-blind)
#766E47
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba274b;
/* rgb */ color: rgb(186, 39, 75);
/* oklch */ color: oklch(52.2% 0.182 12.9);
Tailwind
colors: {
  custom: {
    50: '#d6707d',
    500: '#ba274b',
    950: '#000000',
  },
}
SCSS
$custom: #ba274b;
$custom-light: #d6707d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba274b",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 345.306,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.18182,
    "h": 12.9
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#BA274B
secondary
#72CBB5
accent
#E8BF40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA274B

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

Preview Lab → · Contrast checker → · Palette generator →

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