#BA3875#BA3875

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

Color values

HEX#BA3875
RGBrgb(186, 56, 117)
HSLhsl(332, 54%, 47%)
HSVhsv(332, 70%, 73%)
CMYKcmyk(0%, 69.9%, 37.1%, 27.1%)
CIE-LABlab(45.02, 56.82, -5.22)
CIE-LCHlch(45.02, 57.06, 354.75°)
OKLaboklab(54.9% 0.1741 -0.013)
OKLCHoklch(54.9% 0.175 355.7)
XYZxyz(24.8763, 14.5548, 18.3255)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3875 #38BA7D
analogous
#BA38B6 #BA3875 #BA3C38
triadic
#BA3875 #75BA38 #3875BA
tetradic
#BA3875 #B6BA38 #38BA7D #3C38BA
square
#BA3875 #B6BA38 #38BA7D #3C38BA
split-complementary
#BA3875 #38BA3C #38B6BA
monochromatic
#5C1C3A #8B2A57 #BA3875 #CF6094 #DD8FB4

Accessibility & contrast

On white

5.37
#BA3875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA3875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3875
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3875#FFFFFF#000000##FFFFFF
##BA38751.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B77
Deuteranopia (green-blind)
#747372
Tritanopia (blue-blind)
#C92B52
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3875;
/* rgb */ color: rgb(186, 56, 117);
/* oklch */ color: oklch(54.9% 0.175 355.7);
Tailwind
colors: {
  custom: {
    50: '#d3789c',
    500: '#ba3875',
    950: '#000000',
  },
}
SCSS
$custom: #ba3875;
$custom-light: #d3789c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3875",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 117
  },
  "hsl": {
    "h": 331.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54896,
    "c": 0.17457,
    "h": 355.7
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#BA3875
secondary
#86C8A9
accent
#DD984B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3875

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

Preview Lab → · Contrast checker → · Palette generator →

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