#BA2175#BA2175

#BA2175 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.198 H 353.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BA2175
RGBrgb(186, 33, 117)
HSLhsl(327, 70%, 43%)
HSVhsv(327, 82%, 73%)
CMYKcmyk(0%, 82.3%, 37.1%, 27.1%)
CIE-LABlab(42.48, 63.98, -9.01)
CIE-LCHlch(42.48, 64.61, 351.99°)
OKLaboklab(53.04% 0.1968 -0.023)
OKLCHoklch(53.04% 0.198 353.3)
XYZxyz(24.0061, 12.8142, 18.0354)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2175 #21BA66
analogous
#B221BA #BA2175 #BA2128
triadic
#BA2175 #75BA21 #2175BA
tetradic
#BA2175 #BAB221 #21BA66 #2128BA
square
#BA2175 #BAB221 #21BA66 #2128BA
split-complementary
#BA2175 #28BA21 #21BAB2
monochromatic
#520F34 #861854 #BA2175 #DC3C94 #E670B0

Accessibility & contrast

On white

5.90
#BA2175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA2175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2175
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2175#FFFFFF#000000##FFFFFF
##BA21751.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425377
Deuteranopia (green-blind)
#6D6E72
Tritanopia (blue-blind)
#C90649
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2175;
/* rgb */ color: rgb(186, 33, 117);
/* oklch */ color: oklch(53.0% 0.198 353.3);
Tailwind
colors: {
  custom: {
    50: '#d46f9c',
    500: '#ba2175',
    950: '#000000',
  },
}
SCSS
$custom: #ba2175;
$custom-light: #d46f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2175",
  "rgb": {
    "r": 186,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 327.059,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.19815,
    "h": 353.3
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#BA2175
secondary
#6BCC97
accent
#ED8B3B
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #BA2175

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

Preview Lab → · Contrast checker → · Palette generator →

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