#BA334F#BA334F

#BA334F is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.3% C 0.171 H 13.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA334F
RGBrgb(186, 51, 79)
HSLhsl(348, 57%, 46%)
HSVhsv(348, 73%, 73%)
CMYKcmyk(0%, 72.6%, 57.5%, 27.1%)
CIE-LABlab(43.32, 55.19, 15.89)
CIE-LCHlch(43.32, 57.43, 16.07°)
OKLaboklab(53.31% 0.1663 0.0395)
OKLCHoklch(53.31% 0.171 13.4)
XYZxyz(22.8470, 13.3745, 8.7741)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA334F #33BA9E
analogous
#BA3393 #BA334F #BA5B33
triadic
#BA334F #4FBA33 #334FBA
tetradic
#BA334F #93BA33 #33BA9E #5B33BA
square
#BA334F #93BA33 #33BA9E #5B33BA
split-complementary
#BA334F #33BA5B #3393BA
monochromatic
#5A1926 #8A263B #BA334F #D15972 #DF899B

Accessibility & contrast

On white

5.72
#BA334F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA334F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA334F#FFFFFF#000000##FFFFFF
##BA334F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56554F
Deuteranopia (green-blind)
#79704C
Tritanopia (blue-blind)
#CB0D3F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba334f;
/* rgb */ color: rgb(186, 51, 79);
/* oklch */ color: oklch(53.3% 0.171 13.4);
Tailwind
colors: {
  custom: {
    50: '#d57580',
    500: '#ba334f',
    950: '#000000',
  },
}
SCSS
$custom: #ba334f;
$custom-light: #d57580;
$custom-dark: #000000;
JSON
{
  "hex": "#ba334f",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 347.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.17094,
    "h": 13.4
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#BA334F
secondary
#80C9BA
accent
#E0C148
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA334F

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

Preview Lab → · Contrast checker → · Palette generator →

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