#BA3135#BA3135

#BA3135 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.174 H 24.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BA3135
RGBrgb(186, 49, 53)
HSLhsl(358, 58%, 46%)
HSVhsv(358, 74%, 73%)
CMYKcmyk(0%, 73.7%, 71.5%, 27.1%)
CIE-LABlab(42.61, 54.35, 30.89)
CIE-LCHlch(42.61, 62.52, 29.62°)
OKLaboklab(52.62% 0.1585 0.0708)
OKLCHoklch(52.62% 0.174 24.1)
XYZxyz(21.9931, 12.8961, 4.6986)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3135 #31BAB6
analogous
#BA3179 #BA3135 #BA7131
triadic
#BA3135 #35BA31 #3135BA
tetradic
#BA3135 #79BA31 #31BAB6 #7131BA
square
#BA3135 #79BA31 #31BAB6 #7131BA
split-complementary
#BA3135 #31BA71 #3179BA
monochromatic
#591719 #8A2427 #BA3135 #D25659 #DF8689

Accessibility & contrast

On white

5.87
#BA3135 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA3135 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3135
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3135#FFFFFF#000000##FFFFFF
##BA31351.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595234
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3135;
/* rgb */ color: rgb(186, 49, 53);
/* oklch */ color: oklch(52.6% 0.174 24.1);
Tailwind
colors: {
  custom: {
    50: '#d7746c',
    500: '#ba3135',
    950: '#000000',
  },
}
SCSS
$custom: #ba3135;
$custom-light: #d7746c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3135",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 53
  },
  "hsl": {
    "h": 358.248,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52624,
    "c": 0.17359,
    "h": 24.1
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#BA3135
secondary
#7EC9C7
accent
#E2DD46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3135

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

Preview Lab → · Contrast checker → · Palette generator →

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