#BA3F5E#BA3F5E

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

Color values

HEX#BA3F5E
RGBrgb(186, 63, 94)
HSLhsl(345, 49%, 49%)
HSVhsv(345, 66%, 73%)
CMYKcmyk(0%, 66.1%, 49.5%, 27.1%)
CIE-LABlab(45.37, 51.74, 9.44)
CIE-LCHlch(45.37, 52.59, 10.34°)
OKLaboklab(54.94% 0.1572 0.0244)
OKLCHoklch(54.94% 0.159 8.8)
XYZxyz(24.0495, 14.8053, 12.1788)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F5E #3FBA9B
analogous
#BA3F9C #BA3F5E #BA5E3F
triadic
#BA3F5E #5EBA3F #3F5EBA
tetradic
#BA3F5E #9CBA3F #3FBA9B #5E3FBA
square
#BA3F5E #9CBA3F #3FBA9B #5E3FBA
split-complementary
#BA3F5E #3FBA5E #3F9CBA
monochromatic
#5F2030 #8C3047 #BA3F5E #CC6A83 #DC97A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3F5E#FFFFFF#000000##FFFFFF
##BA3F5E1.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)
#5B5C5F
Deuteranopia (green-blind)
#7B745B
Tritanopia (blue-blind)
#CA2B4B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3f5e;
/* rgb */ color: rgb(186, 63, 94);
/* oklch */ color: oklch(54.9% 0.159 8.8);
Tailwind
colors: {
  custom: {
    50: '#d47b8b',
    500: '#ba3f5e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f5e;
$custom-light: #d47b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f5e",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 94
  },
  "hsl": {
    "h": 344.878,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.15911,
    "h": 8.8
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#BA3F5E
secondary
#8DC8B9
accent
#D9B64F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA3F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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