#BA314D#BA314D

#BA314D is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.1% C 0.173 H 13.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BA314D
RGBrgb(186, 49, 77)
HSLhsl(348, 58%, 46%)
HSVhsv(348, 74%, 73%)
CMYKcmyk(0%, 73.7%, 58.6%, 27.1%)
CIE-LABlab(43.03, 55.75, 16.74)
CIE-LCHlch(43.03, 58.21, 16.71°)
OKLaboklab(53.07% 0.1678 0.0414)
OKLCHoklch(53.07% 0.173 13.9)
XYZxyz(22.6898, 13.1748, 8.3680)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA314D #31BA9E
analogous
#BA3191 #BA314D #BA5931
triadic
#BA314D #4DBA31 #314DBA
tetradic
#BA314D #91BA31 #31BA9E #5931BA
square
#BA314D #91BA31 #31BA9E #5931BA
split-complementary
#BA314D #31BA59 #3191BA
monochromatic
#591725 #8A2439 #BA314D #D2566F #DF8698

Accessibility & contrast

On white

5.78
#BA314D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA314D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA314D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA314D#FFFFFF#000000##FFFFFF
##BA314D1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55544D
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#CC033D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba314d;
/* rgb */ color: rgb(186, 49, 77);
/* oklch */ color: oklch(53.1% 0.173 13.9);
Tailwind
colors: {
  custom: {
    50: '#d6747e',
    500: '#ba314d',
    950: '#000000',
  },
}
SCSS
$custom: #ba314d;
$custom-light: #d6747e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba314d",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 347.737,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.17282,
    "h": 13.9
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#BA314D
secondary
#7EC9B9
accent
#E2C246
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA314D

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

Preview Lab → · Contrast checker → · Palette generator →

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