#BA2F3D#BA2F3D

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

Color values

HEX#BA2F3D
RGBrgb(186, 47, 61)
HSLhsl(354, 60%, 46%)
HSVhsv(354, 75%, 73%)
CMYKcmyk(0%, 74.7%, 67.2%, 27.1%)
CIE-LABlab(42.48, 55.44, 25.91)
CIE-LCHlch(42.48, 61.20, 25.05°)
OKLaboklab(52.57% 0.1637 0.061)
OKLCHoklch(52.57% 0.175 20.4)
XYZxyz(22.1109, 12.8124, 5.7228)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F3D #2FBAAC
analogous
#BA2F82 #BA2F3D #BA662F
triadic
#BA2F3D #3DBA2F #2F3DBA
tetradic
#BA2F3D #82BA2F #2FBAAC #662FBA
square
#BA2F3D #82BA2F #2FBAAC #662FBA
split-complementary
#BA2F3D #2FBA66 #2F82BA
monochromatic
#58161D #89232D #BA2F3D #D35360 #E0848D

Accessibility & contrast

On white

5.90
#BA2F3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA2F3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F3D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F3D#FFFFFF#000000##FFFFFF
##BA2F3D1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57513C
Deuteranopia (green-blind)
#7A6F39
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2f3d;
/* rgb */ color: rgb(186, 47, 61);
/* oklch */ color: oklch(52.6% 0.175 20.4);
Tailwind
colors: {
  custom: {
    50: '#d77372',
    500: '#ba2f3d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f3d;
$custom-light: #d77372;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f3d",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 61
  },
  "hsl": {
    "h": 353.957,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.17471,
    "h": 20.4
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#BA2F3D
secondary
#7CC9C1
accent
#E3D345
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA2F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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