#BA2F57#BA2F57

#BA2F57 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.1% C 0.176 H 8.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BA2F57
RGBrgb(186, 47, 87)
HSLhsl(343, 60%, 46%)
HSVhsv(343, 75%, 73%)
CMYKcmyk(0%, 74.7%, 53.2%, 27.1%)
CIE-LABlab(43.01, 57.18, 10.48)
CIE-LCHlch(43.01, 58.13, 10.38°)
OKLaboklab(53.13% 0.1739 0.0268)
OKLCHoklch(53.13% 0.176 8.8)
XYZxyz(22.9886, 13.1635, 10.3453)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F57 #2FBA92
analogous
#BA2F9C #BA2F57 #BA4C2F
triadic
#BA2F57 #57BA2F #2F57BA
tetradic
#BA2F57 #9CBA2F #2FBA92 #4C2FBA
square
#BA2F57 #9CBA2F #2FBA92 #4C2FBA
split-complementary
#BA2F57 #2FBA4C #2F9CBA
monochromatic
#581629 #892340 #BA2F57 #D35378 #E0849E

Accessibility & contrast

On white

5.78
#BA2F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA2F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F57
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F57#FFFFFF#000000##FFFFFF
##BA2F571.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525458
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#CB0740
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f57;
/* rgb */ color: rgb(186, 47, 87);
/* oklch */ color: oklch(53.1% 0.176 8.8);
Tailwind
colors: {
  custom: {
    50: '#d57486',
    500: '#ba2f57',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f57;
$custom-light: #d57486;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f57",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 342.734,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.17592,
    "h": 8.8
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#BA2F57
secondary
#7CC9B3
accent
#E3B545
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2F57

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

Preview Lab → · Contrast checker → · Palette generator →

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