#BA3A58#BA3A58

#BA3A58 is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.2% C 0.164 H 10.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3A58
RGBrgb(186, 58, 88)
HSLhsl(346, 52%, 48%)
HSVhsv(346, 69%, 73%)
CMYKcmyk(0%, 68.8%, 52.7%, 27.1%)
CIE-LABlab(44.48, 53.25, 11.90)
CIE-LCHlch(44.48, 54.56, 12.60°)
OKLaboklab(54.23% 0.1614 0.0303)
OKLCHoklch(54.23% 0.164 10.6)
XYZxyz(23.5263, 14.1729, 10.7274)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A58 #3ABA9C
analogous
#BA3A98 #BA3A58 #BA5C3A
triadic
#BA3A58 #58BA3A #3A58BA
tetradic
#BA3A58 #98BA3A #3ABA9C #5C3ABA
square
#BA3A58 #98BA3A #3ABA9C #5C3ABA
split-complementary
#BA3A58 #3ABA5C #3A98BA
monochromatic
#5D1D2C #8B2B42 #BA3A58 #CE637C #DD92A3

Accessibility & contrast

On white

5.48
#BA3A58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3A58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A58
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A58#FFFFFF#000000##FFFFFF
##BA3A581.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595958
Deuteranopia (green-blind)
#7A7355
Tritanopia (blue-blind)
#CB2146
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3a58;
/* rgb */ color: rgb(186, 58, 88);
/* oklch */ color: oklch(54.2% 0.164 10.6);
Tailwind
colors: {
  custom: {
    50: '#d57986',
    500: '#ba3a58',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a58;
$custom-light: #d57986;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a58",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 88
  },
  "hsl": {
    "h": 345.938,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.1642,
    "h": 10.6
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#BA3A58
secondary
#88C8B9
accent
#DCBA4C
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA3A58

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

Preview Lab → · Contrast checker → · Palette generator →

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