#BA3F5B#BA3F5B

#BA3F5B is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.9% C 0.159 H 10.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA3F5B
RGBrgb(186, 63, 91)
HSLhsl(346, 49%, 49%)
HSVhsv(346, 66%, 73%)
CMYKcmyk(0%, 66.1%, 51.1%, 27.1%)
CIE-LABlab(45.29, 51.47, 11.18)
CIE-LCHlch(45.29, 52.67, 12.26°)
OKLaboklab(54.86% 0.1561 0.0286)
OKLCHoklch(54.86% 0.159 10.4)
XYZxyz(23.9175, 14.7525, 11.4835)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F5B #3FBA9E
analogous
#BA3F99 #BA3F5B #BA603F
triadic
#BA3F5B #5BBA3F #3F5BBA
tetradic
#BA3F5B #99BA3F #3FBA9E #603FBA
square
#BA3F5B #99BA3F #3FBA9E #603FBA
split-complementary
#BA3F5B #3FBA60 #3F99BA
monochromatic
#5F202E #8C3045 #BA3F5B #CC6A80 #DC97A7

Accessibility & contrast

On white

5.32
#BA3F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F5B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F5B#FFFFFF#000000##FFFFFF
##BA3F5B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5B5B
Deuteranopia (green-blind)
#7B7458
Tritanopia (blue-blind)
#CB2A4A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3f5b;
/* rgb */ color: rgb(186, 63, 91);
/* oklch */ color: oklch(54.9% 0.159 10.4);
Tailwind
colors: {
  custom: {
    50: '#d47b89',
    500: '#ba3f5b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f5b;
$custom-light: #d47b89;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f5b",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 91
  },
  "hsl": {
    "h": 346.341,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.15867,
    "h": 10.4
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#BA3F5B
secondary
#8DC8BA
accent
#D9BA4F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA3F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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