#BA2F56#BA2F56

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

Color values

HEX#BA2F56
RGBrgb(186, 47, 86)
HSLhsl(343, 60%, 46%)
HSVhsv(343, 75%, 73%)
CMYKcmyk(0%, 74.7%, 53.8%, 27.1%)
CIE-LABlab(42.98, 57.10, 11.07)
CIE-LCHlch(42.98, 58.16, 10.97°)
OKLaboklab(53.11% 0.1735 0.0282)
OKLCHoklch(53.11% 0.176 9.2)
XYZxyz(22.9480, 13.1472, 10.1316)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F56 #2FBA93
analogous
#BA2F9C #BA2F56 #BA4D2F
triadic
#BA2F56 #56BA2F #2F56BA
tetradic
#BA2F56 #9CBA2F #2FBA93 #4D2FBA
square
#BA2F56 #9CBA2F #2FBA93 #4D2FBA
split-complementary
#BA2F56 #2FBA4D #2F9CBA
monochromatic
#581629 #89233F #BA2F56 #D35377 #E0849D

Accessibility & contrast

On white

5.79
#BA2F56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2F56
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F56#FFFFFF#000000##FFFFFF
##BA2F561.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535457
Deuteranopia (green-blind)
#777053
Tritanopia (blue-blind)
#CB063F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2f56;
/* rgb */ color: rgb(186, 47, 86);
/* oklch */ color: oklch(53.1% 0.176 9.2);
Tailwind
colors: {
  custom: {
    50: '#d57385',
    500: '#ba2f56',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f56;
$custom-light: #d57385;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f56",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 343.165,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.17577,
    "h": 9.2
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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