#BA3F47#BA3F47

#BA3F47 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.4% C 0.158 H 20.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA3F47
RGBrgb(186, 63, 71)
HSLhsl(356, 49%, 49%)
HSVhsv(356, 66%, 73%)
CMYKcmyk(0%, 66.1%, 61.8%, 27.1%)
CIE-LABlab(44.87, 49.94, 22.86)
CIE-LCHlch(44.87, 54.92, 24.60°)
OKLaboklab(54.41% 0.1482 0.0552)
OKLCHoklch(54.41% 0.158 20.4)
XYZxyz(23.1668, 14.4522, 7.5297)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F47 #3FBAB2
analogous
#BA3F85 #BA3F47 #BA753F
triadic
#BA3F47 #47BA3F #3F47BA
tetradic
#BA3F47 #85BA3F #3FBAB2 #753FBA
square
#BA3F47 #85BA3F #3FBAB2 #753FBA
split-complementary
#BA3F47 #3FBA75 #3F85BA
monochromatic
#5F2024 #8C3036 #BA3F47 #CC6A70 #DC979C

Accessibility & contrast

On white

5.40
#BA3F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA3F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F47
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F47#FFFFFF#000000##FFFFFF
##BA3F471.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5A46
Deuteranopia (green-blind)
#7E7444
Tritanopia (blue-blind)
#CC2343
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3f47;
/* rgb */ color: rgb(186, 63, 71);
/* oklch */ color: oklch(54.4% 0.158 20.4);
Tailwind
colors: {
  custom: {
    50: '#d57b7a',
    500: '#ba3f47',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f47;
$custom-light: #d57b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f47",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 71
  },
  "hsl": {
    "h": 356.098,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.15811,
    "h": 20.4
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#BA3F47
secondary
#8DC8C4
accent
#D9D04F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A09
muted
#847C7B

Preview Lab

Preview with #BA3F47

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

Preview Lab → · Contrast checker → · Palette generator →

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