#BA334B#BA334B

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

Color values

HEX#BA334B
RGBrgb(186, 51, 75)
HSLhsl(349, 57%, 46%)
HSVhsv(349, 73%, 73%)
CMYKcmyk(0%, 72.6%, 59.7%, 27.1%)
CIE-LABlab(43.24, 54.91, 18.26)
CIE-LCHlch(43.24, 57.86, 18.40°)
OKLaboklab(53.22% 0.1647 0.0449)
OKLCHoklch(53.22% 0.171 15.2)
XYZxyz(22.7058, 13.3180, 8.0303)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA334B #33BAA2
analogous
#BA338F #BA334B #BA5F33
triadic
#BA334B #4BBA33 #334BBA
tetradic
#BA334B #8FBA33 #33BAA2 #5F33BA
square
#BA334B #8FBA33 #33BAA2 #5F33BA
split-complementary
#BA334B #33BA5F #338FBA
monochromatic
#5A1924 #8A2638 #BA334B #D1596E #DF8998

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA334B#FFFFFF#000000##FFFFFF
##BA334B1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544B
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#CC093D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba334b;
/* rgb */ color: rgb(186, 51, 75);
/* oklch */ color: oklch(53.2% 0.171 15.2);
Tailwind
colors: {
  custom: {
    50: '#d6757d',
    500: '#ba334b',
    950: '#000000',
  },
}
SCSS
$custom: #ba334b;
$custom-light: #d6757d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba334b",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 75
  },
  "hsl": {
    "h": 349.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.17073,
    "h": 15.2
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA334B

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

Preview Lab → · Contrast checker → · Palette generator →

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