#BA334E#BA334E

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

Color values

HEX#BA334E
RGBrgb(186, 51, 78)
HSLhsl(348, 57%, 46%)
HSVhsv(348, 73%, 73%)
CMYKcmyk(0%, 72.6%, 58.1%, 27.1%)
CIE-LABlab(43.30, 55.11, 16.49)
CIE-LCHlch(43.30, 57.53, 16.65°)
OKLaboklab(53.28% 0.1659 0.0409)
OKLCHoklch(53.28% 0.171 13.8)
XYZxyz(22.8109, 13.3600, 8.5838)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA334E #33BA9F
analogous
#BA3392 #BA334E #BA5C33
triadic
#BA334E #4EBA33 #334EBA
tetradic
#BA334E #92BA33 #33BA9F #5C33BA
square
#BA334E #92BA33 #33BA9F #5C33BA
split-complementary
#BA334E #33BA5C #3392BA
monochromatic
#5A1926 #8A263A #BA334E #D15971 #DF899A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA334E#FFFFFF#000000##FFFFFF
##BA334E1.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)
#56554E
Deuteranopia (green-blind)
#79704B
Tritanopia (blue-blind)
#CB0C3E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba334e;
/* rgb */ color: rgb(186, 51, 78);
/* oklch */ color: oklch(53.3% 0.171 13.8);
Tailwind
colors: {
  custom: {
    50: '#d5757f',
    500: '#ba334e',
    950: '#000000',
  },
}
SCSS
$custom: #ba334e;
$custom-light: #d5757f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba334e",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 348,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.17087,
    "h": 13.8
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA334E

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

Preview Lab → · Contrast checker → · Palette generator →

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