#BA2F75#BA2F75

#BA2F75 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.185 H 354.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BA2F75
RGBrgb(186, 47, 117)
HSLhsl(330, 60%, 46%)
HSVhsv(330, 75%, 73%)
CMYKcmyk(0%, 74.7%, 37.1%, 27.1%)
CIE-LABlab(43.89, 59.99, -6.91)
CIE-LCHlch(43.89, 60.38, 353.43°)
OKLaboklab(54.07% 0.1841 -0.0175)
OKLCHoklch(54.07% 0.185 354.6)
XYZxyz(24.4787, 13.7595, 18.1930)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F75 #2FBA74
analogous
#B92FBA #BA2F75 #BA2F2F
triadic
#BA2F75 #75BA2F #2F75BA
tetradic
#BA2F75 #BAB92F #2FBA74 #2F2FBA
square
#BA2F75 #BAB92F #2FBA74 #2F2FBA
split-complementary
#BA2F75 #2FBA2F #2FBAB9
monochromatic
#581638 #892356 #BA2F75 #D35394 #E084B2

Accessibility & contrast

On white

5.60
#BA2F75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA2F75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F75
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F75#FFFFFF#000000##FFFFFF
##BA2F751.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5777
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#C9204E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2f75;
/* rgb */ color: rgb(186, 47, 117);
/* oklch */ color: oklch(54.1% 0.185 354.6);
Tailwind
colors: {
  custom: {
    50: '#d4749c',
    500: '#ba2f75',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f75;
$custom-light: #d4749c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f75",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 329.784,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.18494,
    "h": 354.6
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#BA2F75
secondary
#7CC9A2
accent
#E39345
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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