#BA3B58#BA3B58

#BA3B58 is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.3% C 0.163 H 10.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA3B58
RGBrgb(186, 59, 88)
HSLhsl(346, 52%, 48%)
HSVhsv(346, 68%, 73%)
CMYKcmyk(0%, 68.3%, 52.7%, 27.1%)
CIE-LABlab(44.62, 52.85, 12.10)
CIE-LCHlch(44.62, 54.22, 12.90°)
OKLaboklab(54.34% 0.1601 0.0308)
OKLCHoklch(54.34% 0.163 10.9)
XYZxyz(23.5772, 14.2747, 10.7444)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B58 #3BBA9D
analogous
#BA3B97 #BA3B58 #BA5D3B
triadic
#BA3B58 #58BA3B #3B58BA
tetradic
#BA3B58 #97BA3B #3BBA9D #5D3BBA
square
#BA3B58 #97BA3B #3BBA9D #5D3BBA
split-complementary
#BA3B58 #3BBA5D #3B97BA
monochromatic
#5D1E2C #8C2C42 #BA3B58 #CE647C #DD93A4

Accessibility & contrast

On white

5.45
#BA3B58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA3B58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B58
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B58#FFFFFF#000000##FFFFFF
##BA3B581.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595958
Deuteranopia (green-blind)
#7A7355
Tritanopia (blue-blind)
#CB2347
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3b58;
/* rgb */ color: rgb(186, 59, 88);
/* oklch */ color: oklch(54.3% 0.163 10.9);
Tailwind
colors: {
  custom: {
    50: '#d57986',
    500: '#ba3b58',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b58;
$custom-light: #d57986;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b58",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 88
  },
  "hsl": {
    "h": 346.299,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54338,
    "c": 0.16305,
    "h": 10.9
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#BA3B58
secondary
#89C8B9
accent
#DBBB4D
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA3B58

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

Preview Lab → · Contrast checker → · Palette generator →

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