#BA3F5F#BA3F5F

#BA3F5F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.0% C 0.159 H 8.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA3F5F
RGBrgb(186, 63, 95)
HSLhsl(344, 49%, 49%)
HSVhsv(344, 66%, 73%)
CMYKcmyk(0%, 66.1%, 48.9%, 27.1%)
CIE-LABlab(45.39, 51.83, 8.86)
CIE-LCHlch(45.39, 52.58, 9.70°)
OKLaboklab(54.96% 0.1576 0.023)
OKLCHoklch(54.96% 0.159 8.3)
XYZxyz(24.0947, 14.8234, 12.4166)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F5F #3FBA9A
analogous
#BA3F9D #BA3F5F #BA5D3F
triadic
#BA3F5F #5FBA3F #3F5FBA
tetradic
#BA3F5F #9DBA3F #3FBA9A #5D3FBA
square
#BA3F5F #9DBA3F #3FBA9A #5D3FBA
split-complementary
#BA3F5F #3FBA5D #3F9DBA
monochromatic
#5F2030 #8C3048 #BA3F5F #CC6A83 #DC97A9

Accessibility & contrast

On white

5.30
#BA3F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3F5F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F5F#FFFFFF#000000##FFFFFF
##BA3F5F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C60
Deuteranopia (green-blind)
#7B755C
Tritanopia (blue-blind)
#CA2B4C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3f5f;
/* rgb */ color: rgb(186, 63, 95);
/* oklch */ color: oklch(55.0% 0.159 8.3);
Tailwind
colors: {
  custom: {
    50: '#d47b8c',
    500: '#ba3f5f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f5f;
$custom-light: #d47b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f5f",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 95
  },
  "hsl": {
    "h": 344.39,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.15928,
    "h": 8.3
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#BA3F5F
secondary
#8DC8B8
accent
#D9B54F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA3F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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