#BA3F5C#BA3F5C

#BA3F5C is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.9% C 0.159 H 9.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA3F5C
RGBrgb(186, 63, 92)
HSLhsl(346, 49%, 49%)
HSVhsv(346, 66%, 73%)
CMYKcmyk(0%, 66.1%, 50.5%, 27.1%)
CIE-LABlab(45.32, 51.56, 10.60)
CIE-LCHlch(45.32, 52.64, 11.62°)
OKLaboklab(54.89% 0.1565 0.0272)
OKLCHoklch(54.89% 0.159 9.9)
XYZxyz(23.9610, 14.7699, 11.7122)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F5C #3FBA9D
analogous
#BA3F9A #BA3F5C #BA603F
triadic
#BA3F5C #5CBA3F #3F5CBA
tetradic
#BA3F5C #9ABA3F #3FBA9D #603FBA
square
#BA3F5C #9ABA3F #3FBA9D #603FBA
split-complementary
#BA3F5C #3FBA60 #3F9ABA
monochromatic
#5F202F #8C3045 #BA3F5C #CC6A81 #DC97A8

Accessibility & contrast

On white

5.31
#BA3F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F5C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F5C#FFFFFF#000000##FFFFFF
##BA3F5C1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C5D
Deuteranopia (green-blind)
#7B7459
Tritanopia (blue-blind)
#CA2A4A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3f5c;
/* rgb */ color: rgb(186, 63, 92);
/* oklch */ color: oklch(54.9% 0.159 9.9);
Tailwind
colors: {
  custom: {
    50: '#d47b89',
    500: '#ba3f5c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f5c;
$custom-light: #d47b89;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f5c",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 92
  },
  "hsl": {
    "h": 345.854,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.15881,
    "h": 9.9
  },
  "luminance": 0.14767
}

Semantic roles & 50–950 ramp

primary
#BA3F5C
secondary
#8DC8BA
accent
#D9B84F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA3F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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