#BA3F70#BA3F70

#BA3F70 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.5% C 0.164 H 359.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA3F70
RGBrgb(186, 63, 112)
HSLhsl(336, 49%, 49%)
HSVhsv(336, 66%, 73%)
CMYKcmyk(0%, 66.1%, 39.8%, 27.1%)
CIE-LABlab(45.86, 53.51, -0.91)
CIE-LCHlch(45.86, 53.52, 359.03°)
OKLaboklab(55.47% 0.1637 -0.0017)
OKLCHoklch(55.47% 0.164 359.4)
XYZxyz(24.9535, 15.1669, 16.9395)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F70 #3FBA89
analogous
#BA3FAE #BA3F70 #BA4C3F
triadic
#BA3F70 #70BA3F #3F70BA
tetradic
#BA3F70 #AEBA3F #3FBA89 #4C3FBA
square
#BA3F70 #AEBA3F #3FBA89 #4C3FBA
split-complementary
#BA3F70 #3FBA4C #3FAEBA
monochromatic
#5F2039 #8C3054 #BA3F70 #CC6A91 #DC97B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3F70#FFFFFF#000000##FFFFFF
##BA3F701.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)
#565E71
Deuteranopia (green-blind)
#78756D
Tritanopia (blue-blind)
#C93253
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3f70;
/* rgb */ color: rgb(186, 63, 112);
/* oklch */ color: oklch(55.5% 0.164 359.4);
Tailwind
colors: {
  custom: {
    50: '#d37c98',
    500: '#ba3f70',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f70;
$custom-light: #d37c98;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f70",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 112
  },
  "hsl": {
    "h": 336.098,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.16375,
    "h": 359.4
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#BA3F70
secondary
#8DC8B0
accent
#D9A24F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA3F70

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

Preview Lab → · Contrast checker → · Palette generator →

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