#BA3F4D#BA3F4D

#BA3F4D is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.5% C 0.158 H 17.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA3F4D
RGBrgb(186, 63, 77)
HSLhsl(353, 49%, 49%)
HSVhsv(353, 66%, 73%)
CMYKcmyk(0%, 66.1%, 58.6%, 27.1%)
CIE-LABlab(44.99, 50.36, 19.36)
CIE-LCHlch(44.99, 53.95, 21.03°)
OKLaboklab(54.53% 0.1506 0.0476)
OKLCHoklch(54.53% 0.158 17.5)
XYZxyz(23.3689, 14.5331, 8.5943)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F4D #3FBAAC
analogous
#BA3F8B #BA3F4D #BA6F3F
triadic
#BA3F4D #4DBA3F #3F4DBA
tetradic
#BA3F4D #8BBA3F #3FBAAC #6F3FBA
square
#BA3F4D #8BBA3F #3FBAAC #6F3FBA
split-complementary
#BA3F4D #3FBA6F #3F8BBA
monochromatic
#5F2027 #8C303A #BA3F4D #CC6A75 #DC979F

Accessibility & contrast

On white

5.38
#BA3F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA3F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F4D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F4D#FFFFFF#000000##FFFFFF
##BA3F4D1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5A4D
Deuteranopia (green-blind)
#7D744A
Tritanopia (blue-blind)
#CB2545
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3f4d;
/* rgb */ color: rgb(186, 63, 77);
/* oklch */ color: oklch(54.5% 0.158 17.5);
Tailwind
colors: {
  custom: {
    50: '#d57b7e',
    500: '#ba3f4d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f4d;
$custom-light: #d57b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f4d",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 77
  },
  "hsl": {
    "h": 353.171,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.15788,
    "h": 17.5
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#BA3F4D
secondary
#8DC8C1
accent
#D9C94F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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