#BA314C#BA314C

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

Color values

HEX#BA314C
RGBrgb(186, 49, 76)
HSLhsl(348, 58%, 46%)
HSVhsv(348, 74%, 73%)
CMYKcmyk(0%, 73.7%, 59.1%, 27.1%)
CIE-LABlab(43.00, 55.68, 17.33)
CIE-LCHlch(43.00, 58.32, 17.29°)
OKLaboklab(53.05% 0.1674 0.0427)
OKLCHoklch(53.05% 0.173 14.3)
XYZxyz(22.6548, 13.1608, 8.1834)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA314C #31BA9F
analogous
#BA3190 #BA314C #BA5A31
triadic
#BA314C #4CBA31 #314CBA
tetradic
#BA314C #90BA31 #31BA9F #5A31BA
square
#BA314C #90BA31 #31BA9F #5A31BA
split-complementary
#BA314C #31BA5A #3190BA
monochromatic
#591724 #8A2438 #BA314C #D2566E #DF8698

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA314C#FFFFFF#000000##FFFFFF
##BA314C1.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)
#56534C
Deuteranopia (green-blind)
#797048
Tritanopia (blue-blind)
#CC023C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba314c;
/* rgb */ color: rgb(186, 49, 76);
/* oklch */ color: oklch(53.0% 0.173 14.3);
Tailwind
colors: {
  custom: {
    50: '#d6747d',
    500: '#ba314c',
    950: '#000000',
  },
}
SCSS
$custom: #ba314c;
$custom-light: #d6747d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba314c",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 348.175,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.17277,
    "h": 14.3
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#BA314C
secondary
#7EC9BA
accent
#E2C346
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA314C

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

Preview Lab → · Contrast checker → · Palette generator →

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