#BA334A#BA334A

#BA334A is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.2% C 0.171 H 15.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA334A
RGBrgb(186, 51, 74)
HSLhsl(350, 57%, 46%)
HSVhsv(350, 73%, 73%)
CMYKcmyk(0%, 72.6%, 60.2%, 27.1%)
CIE-LABlab(43.22, 54.84, 18.86)
CIE-LCHlch(43.22, 57.99, 18.98°)
OKLaboklab(53.19% 0.1643 0.0462)
OKLCHoklch(53.19% 0.171 15.7)
XYZxyz(22.6718, 13.3044, 7.8514)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA334A #33BAA3
analogous
#BA338E #BA334A #BA6033
triadic
#BA334A #4ABA33 #334ABA
tetradic
#BA334A #8EBA33 #33BAA3 #6033BA
square
#BA334A #8EBA33 #33BAA3 #6033BA
split-complementary
#BA334A #33BA60 #338EBA
monochromatic
#5A1924 #8A2637 #BA334A #D1596D #DF8997

Accessibility & contrast

On white

5.74
#BA334A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA334A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA334A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA334A#FFFFFF#000000##FFFFFF
##BA334A1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544A
Deuteranopia (green-blind)
#7A7046
Tritanopia (blue-blind)
#CC083D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba334a;
/* rgb */ color: rgb(186, 51, 74);
/* oklch */ color: oklch(53.2% 0.171 15.7);
Tailwind
colors: {
  custom: {
    50: '#d6757c',
    500: '#ba334a',
    950: '#000000',
  },
}
SCSS
$custom: #ba334a;
$custom-light: #d6757c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba334a",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 349.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.1707,
    "h": 15.7
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#BA334A
secondary
#80C9BC
accent
#E0C648
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA334A

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

Preview Lab → · Contrast checker → · Palette generator →

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