#BA2F5F#BA2F5F

#BA2F5F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.178 H 4.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA2F5F
RGBrgb(186, 47, 95)
HSLhsl(339, 60%, 46%)
HSVhsv(339, 75%, 73%)
CMYKcmyk(0%, 74.7%, 48.9%, 27.1%)
CIE-LABlab(43.21, 57.84, 5.77)
CIE-LCHlch(43.21, 58.13, 5.70°)
OKLaboklab(53.35% 0.1769 0.0153)
OKLCHoklch(53.35% 0.178 4.9)
XYZxyz(23.3338, 13.3015, 12.1630)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F5F #2FBA8A
analogous
#BA2FA4 #BA2F5F #BA452F
triadic
#BA2F5F #5FBA2F #2F5FBA
tetradic
#BA2F5F #A4BA2F #2FBA8A #452FBA
square
#BA2F5F #A4BA2F #2FBA8A #452FBA
split-complementary
#BA2F5F #2FBA45 #2FA4BA
monochromatic
#58162D #892346 #BA2F5F #D3537F #E084A3

Accessibility & contrast

On white

5.74
#BA2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA2F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F5F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F5F#FFFFFF#000000##FFFFFF
##BA2F5F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#75705C
Tritanopia (blue-blind)
#CA0F43
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f5f;
/* rgb */ color: rgb(186, 47, 95);
/* oklch */ color: oklch(53.4% 0.178 4.9);
Tailwind
colors: {
  custom: {
    50: '#d5748c',
    500: '#ba2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f5f;
$custom-light: #d5748c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f5f",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 339.281,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.17752,
    "h": 4.9
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#BA2F5F
secondary
#7CC9AE
accent
#E3AC45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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