#BA3F4C#BA3F4C

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

Color values

HEX#BA3F4C
RGBrgb(186, 63, 76)
HSLhsl(354, 49%, 49%)
HSVhsv(354, 66%, 73%)
CMYKcmyk(0%, 66.1%, 59.1%, 27.1%)
CIE-LABlab(44.97, 50.28, 19.94)
CIE-LCHlch(44.97, 54.09, 21.64°)
OKLaboklab(54.51% 0.1502 0.0488)
OKLCHoklch(54.51% 0.158 18)
XYZxyz(23.3339, 14.5191, 8.4098)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F4C #3FBAAD
analogous
#BA3F8A #BA3F4C #BA703F
triadic
#BA3F4C #4CBA3F #3F4CBA
tetradic
#BA3F4C #8ABA3F #3FBAAD #703FBA
square
#BA3F4C #8ABA3F #3FBAAD #703FBA
split-complementary
#BA3F4C #3FBA70 #3F8ABA
monochromatic
#5F2027 #8C3039 #BA3F4C #CC6A74 #DC979F

Accessibility & contrast

On white

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

On black

3.90
#BA3F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3F4C#FFFFFF#000000##FFFFFF
##BA3F4C1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5A4C
Deuteranopia (green-blind)
#7D7449
Tritanopia (blue-blind)
#CB2544
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3f4c;
/* rgb */ color: rgb(186, 63, 76);
/* oklch */ color: oklch(54.5% 0.158 18.0);
Tailwind
colors: {
  custom: {
    50: '#d57b7d',
    500: '#ba3f4c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f4c;
$custom-light: #d57b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f4c",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 76
  },
  "hsl": {
    "h": 353.659,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.15789,
    "h": 18
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#BA3F4C
secondary
#8DC8C1
accent
#D9CA4F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A09
muted
#837C7B

Preview Lab

Preview with #BA3F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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