#BA3F6F#BA3F6F

#BA3F6F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.163 H 359.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA3F6F
RGBrgb(186, 63, 111)
HSLhsl(337, 49%, 49%)
HSVhsv(337, 66%, 73%)
CMYKcmyk(0%, 66.1%, 40.3%, 27.1%)
CIE-LABlab(45.83, 53.41, -0.34)
CIE-LCHlch(45.83, 53.41, 359.64°)
OKLaboklab(55.44% 0.1634 -0.0002)
OKLCHoklch(55.44% 0.163 359.9)
XYZxyz(24.8981, 15.1448, 16.6479)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F6F #3FBA8A
analogous
#BA3FAD #BA3F6F #BA4C3F
triadic
#BA3F6F #6FBA3F #3F6FBA
tetradic
#BA3F6F #ADBA3F #3FBA8A #4C3FBA
square
#BA3F6F #ADBA3F #3FBA8A #4C3FBA
split-complementary
#BA3F6F #3FBA4C #3FADBA
monochromatic
#5F2038 #8C3054 #BA3F6F #CC6A90 #DC97B2

Accessibility & contrast

On white

5.21
#BA3F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F6F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F6F#FFFFFF#000000##FFFFFF
##BA3F6F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E70
Deuteranopia (green-blind)
#78756C
Tritanopia (blue-blind)
#C93152
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3f6f;
/* rgb */ color: rgb(186, 63, 111);
/* oklch */ color: oklch(55.4% 0.163 359.9);
Tailwind
colors: {
  custom: {
    50: '#d37c98',
    500: '#ba3f6f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f6f;
$custom-light: #d37c98;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f6f",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 111
  },
  "hsl": {
    "h": 336.585,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.1634,
    "h": 359.9
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#BA3F6F
secondary
#8DC8B1
accent
#D9A34F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA3F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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