#BA334C#BA334C

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

Color values

HEX#BA334C
RGBrgb(186, 51, 76)
HSLhsl(349, 57%, 46%)
HSVhsv(349, 73%, 73%)
CMYKcmyk(0%, 72.6%, 59.1%, 27.1%)
CIE-LABlab(43.26, 54.97, 17.67)
CIE-LCHlch(43.26, 57.74, 17.82°)
OKLaboklab(53.24% 0.1651 0.0435)
OKLCHoklch(53.24% 0.171 14.8)
XYZxyz(22.7403, 13.3318, 8.2119)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA334C #33BAA1
analogous
#BA3390 #BA334C #BA5E33
triadic
#BA334C #4CBA33 #334CBA
tetradic
#BA334C #90BA33 #33BAA1 #5E33BA
square
#BA334C #90BA33 #33BAA1 #5E33BA
split-complementary
#BA334C #33BA5E #3390BA
monochromatic
#5A1925 #8A2638 #BA334C #D1596F #DF8999

Accessibility & contrast

On white

5.73
#BA334C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BA334C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA334C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA334C#FFFFFF#000000##FFFFFF
##BA334C1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544C
Deuteranopia (green-blind)
#797048
Tritanopia (blue-blind)
#CC0A3D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba334c;
/* rgb */ color: rgb(186, 51, 76);
/* oklch */ color: oklch(53.2% 0.171 14.8);
Tailwind
colors: {
  custom: {
    50: '#d5757d',
    500: '#ba334c',
    950: '#000000',
  },
}
SCSS
$custom: #ba334c;
$custom-light: #d5757d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba334c",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 348.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53237,
    "c": 0.17077,
    "h": 14.8
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#BA334C
secondary
#80C9BB
accent
#E0C448
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA334C

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

Preview Lab → · Contrast checker → · Palette generator →

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