#BA314E#BA314E

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

Color values

HEX#BA314E
RGBrgb(186, 49, 78)
HSLhsl(347, 58%, 46%)
HSVhsv(347, 74%, 73%)
CMYKcmyk(0%, 73.7%, 58.1%, 27.1%)
CIE-LABlab(43.05, 55.82, 16.14)
CIE-LCHlch(43.05, 58.11, 16.13°)
OKLaboklab(53.09% 0.1682 0.04)
OKLCHoklch(53.09% 0.173 13.4)
XYZxyz(22.7254, 13.1890, 8.5553)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA314E #31BA9D
analogous
#BA3192 #BA314E #BA5831
triadic
#BA314E #4EBA31 #314EBA
tetradic
#BA314E #92BA31 #31BA9D #5831BA
square
#BA314E #92BA31 #31BA9D #5831BA
split-complementary
#BA314E #31BA58 #3192BA
monochromatic
#591725 #8A243A #BA314E #D25670 #DF8699

Accessibility & contrast

On white

5.77
#BA314E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#BA314E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA314E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA314E#FFFFFF#000000##FFFFFF
##BA314E1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55544E
Deuteranopia (green-blind)
#78704A
Tritanopia (blue-blind)
#CC043D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba314e;
/* rgb */ color: rgb(186, 49, 78);
/* oklch */ color: oklch(53.1% 0.173 13.4);
Tailwind
colors: {
  custom: {
    50: '#d5747f',
    500: '#ba314e',
    950: '#000000',
  },
}
SCSS
$custom: #ba314e;
$custom-light: #d5747f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba314e",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 347.299,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.17288,
    "h": 13.4
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#BA314E
secondary
#7EC9B9
accent
#E2C146
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA314E

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

Preview Lab → · Contrast checker → · Palette generator →

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