#BA2F3F#BA2F3F

#BA2F3F is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.175 H 19.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA2F3F
RGBrgb(186, 47, 63)
HSLhsl(353, 60%, 46%)
HSVhsv(353, 75%, 73%)
CMYKcmyk(0%, 74.7%, 66.1%, 27.1%)
CIE-LABlab(42.51, 55.56, 24.73)
CIE-LCHlch(42.51, 60.81, 23.99°)
OKLaboklab(52.6% 0.1645 0.0586)
OKLCHoklch(52.6% 0.175 19.6)
XYZxyz(22.1658, 12.8343, 6.0118)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F3F #2FBAAA
analogous
#BA2F84 #BA2F3F #BA652F
triadic
#BA2F3F #3FBA2F #2F3FBA
tetradic
#BA2F3F #84BA2F #2FBAAA #652FBA
square
#BA2F3F #84BA2F #2FBAAA #652FBA
split-complementary
#BA2F3F #2FBA65 #2F84BA
monochromatic
#58161E #89232E #BA2F3F #D35362 #E0848E

Accessibility & contrast

On white

5.89
#BA2F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F3F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F3F#FFFFFF#000000##FFFFFF
##BA2F3F1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523F
Deuteranopia (green-blind)
#7A6F3B
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2f3f;
/* rgb */ color: rgb(186, 47, 63);
/* oklch */ color: oklch(52.6% 0.175 19.6);
Tailwind
colors: {
  custom: {
    50: '#d67374',
    500: '#ba2f3f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f3f;
$custom-light: #d67374;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f3f",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 353.094,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.17461,
    "h": 19.6
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#BA2F3F
secondary
#7CC9C0
accent
#E3D145
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA2F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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