#BA3F5D#BA3F5D

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

Color values

HEX#BA3F5D
RGBrgb(186, 63, 93)
HSLhsl(345, 49%, 49%)
HSVhsv(345, 66%, 73%)
CMYKcmyk(0%, 66.1%, 50%, 27.1%)
CIE-LABlab(45.34, 51.65, 10.02)
CIE-LCHlch(45.34, 52.61, 10.98°)
OKLaboklab(54.91% 0.1568 0.0258)
OKLCHoklch(54.91% 0.159 9.3)
XYZxyz(24.0050, 14.7875, 11.9440)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F5D #3FBA9C
analogous
#BA3F9B #BA3F5D #BA5F3F
triadic
#BA3F5D #5DBA3F #3F5DBA
tetradic
#BA3F5D #9BBA3F #3FBA9C #5F3FBA
square
#BA3F5D #9BBA3F #3FBA9C #5F3FBA
split-complementary
#BA3F5D #3FBA5F #3F9BBA
monochromatic
#5F202F #8C3046 #BA3F5D #CC6A82 #DC97A8

Accessibility & contrast

On white

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

On black

3.96
#BA3F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3F5D#FFFFFF#000000##FFFFFF
##BA3F5D1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C5E
Deuteranopia (green-blind)
#7B745A
Tritanopia (blue-blind)
#CA2B4B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3f5d;
/* rgb */ color: rgb(186, 63, 93);
/* oklch */ color: oklch(54.9% 0.159 9.3);
Tailwind
colors: {
  custom: {
    50: '#d47b8a',
    500: '#ba3f5d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f5d;
$custom-light: #d47b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f5d",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 93
  },
  "hsl": {
    "h": 345.366,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.15895,
    "h": 9.3
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#BA3F5D
secondary
#8DC8B9
accent
#D9B74F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA3F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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