#BA3A70#BA3A70

#BA3A70 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.170 H 358.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA3A70
RGBrgb(186, 58, 112)
HSLhsl(335, 52%, 48%)
HSVhsv(335, 69%, 73%)
CMYKcmyk(0%, 68.8%, 39.8%, 27.1%)
CIE-LABlab(45.13, 55.52, -1.98)
CIE-LCHlch(45.13, 55.55, 357.96°)
OKLaboklab(54.93% 0.1701 -0.0045)
OKLCHoklch(54.93% 0.17 358.5)
XYZxyz(24.6890, 14.6380, 16.8514)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A70 #3ABA84
analogous
#BA3AB0 #BA3A70 #BA443A
triadic
#BA3A70 #70BA3A #3A70BA
tetradic
#BA3A70 #B0BA3A #3ABA84 #443ABA
square
#BA3A70 #B0BA3A #3ABA84 #443ABA
split-complementary
#BA3A70 #3ABA44 #3AB0BA
monochromatic
#5D1D38 #8B2B54 #BA3A70 #CE6390 #DD92B1

Accessibility & contrast

On white

5.35
#BA3A70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA3A70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A70
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A70#FFFFFF#000000##FFFFFF
##BA3A701.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B71
Deuteranopia (green-blind)
#76746D
Tritanopia (blue-blind)
#C92C50
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3a70;
/* rgb */ color: rgb(186, 58, 112);
/* oklch */ color: oklch(54.9% 0.170 358.5);
Tailwind
colors: {
  custom: {
    50: '#d37999',
    500: '#ba3a70',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a70;
$custom-light: #d37999;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a70",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 112
  },
  "hsl": {
    "h": 334.688,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.17013,
    "h": 358.5
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#BA3A70
secondary
#88C8AD
accent
#DC9F4C
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA3A70

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

Preview Lab → · Contrast checker → · Palette generator →

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