#BA3E57#BA3E57

#BA3E57 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.6% C 0.159 H 12.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA3E57
RGBrgb(186, 62, 87)
HSLhsl(348, 50%, 49%)
HSVhsv(348, 67%, 73%)
CMYKcmyk(0%, 66.7%, 53.2%, 27.1%)
CIE-LABlab(45.05, 51.55, 13.31)
CIE-LCHlch(45.05, 53.24, 14.47°)
OKLaboklab(54.65% 0.1558 0.0336)
OKLCHoklch(54.65% 0.159 12.2)
XYZxyz(23.6947, 14.5756, 10.5806)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E57 #3EBAA1
analogous
#BA3E95 #BA3E57 #BA633E
triadic
#BA3E57 #57BA3E #3E57BA
tetradic
#BA3E57 #95BA3E #3EBAA1 #633EBA
square
#BA3E57 #95BA3E #3EBAA1 #633EBA
split-complementary
#BA3E57 #3EBA63 #3E95BA
monochromatic
#5E1F2C #8C2F42 #BA3E57 #CD687D #DC96A4

Accessibility & contrast

On white

5.36
#BA3E57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA3E57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E57
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E57#FFFFFF#000000##FFFFFF
##BA3E571.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5B57
Deuteranopia (green-blind)
#7C7454
Tritanopia (blue-blind)
#CB2748
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3e57;
/* rgb */ color: rgb(186, 62, 87);
/* oklch */ color: oklch(54.6% 0.159 12.2);
Tailwind
colors: {
  custom: {
    50: '#d47b86',
    500: '#ba3e57',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e57;
$custom-light: #d47b86;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e57",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 87
  },
  "hsl": {
    "h": 347.903,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.15943,
    "h": 12.2
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#BA3E57
secondary
#8CC8BC
accent
#DABD4E
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA3E57

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

Preview Lab → · Contrast checker → · Palette generator →

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