#BA3F2E#BA3F2E

#BA3F2E is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.0% C 0.162 H 30.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA3F2E
RGBrgb(186, 63, 46)
HSLhsl(7, 60%, 45%)
HSVhsv(7, 75%, 73%)
CMYKcmyk(0%, 66.1%, 75.3%, 27.1%)
CIE-LABlab(44.51, 48.59, 37.09)
CIE-LCHlch(44.51, 61.12, 37.36°)
OKLaboklab(54.02% 0.1389 0.0827)
OKLCHoklch(54.02% 0.162 30.8)
XYZxyz(22.5228, 14.1946, 4.1381)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F2E #2EA9BA
analogous
#BA2E63 #BA3F2E #BA852E
triadic
#BA3F2E #2EBA3F #3F2EBA
tetradic
#BA3F2E #63BA2E #2EA9BA #852EBA
square
#BA3F2E #63BA2E #2EA9BA #852EBA
split-complementary
#BA3F2E #2EBA85 #2E63BA
monochromatic
#581E16 #892E22 #BA3F2E #D46151 #E08E82

Accessibility & contrast

On white

5.47
#BA3F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA3F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F2E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F2E#FFFFFF#000000##FFFFFF
##BA3F2E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582B
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#CD1C3C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f2e;
/* rgb */ color: rgb(186, 63, 46);
/* oklch */ color: oklch(54.0% 0.162 30.8);
Tailwind
colors: {
  custom: {
    50: '#d77a68',
    500: '#ba3f2e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f2e;
$custom-light: #d77a68;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f2e",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 46
  },
  "hsl": {
    "h": 7.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.16168,
    "h": 30.8
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#BA3F2E
secondary
#7BC0C9
accent
#D0E344
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA3F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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