#BA2F54#BA2F54

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

Color values

HEX#BA2F54
RGBrgb(186, 47, 84)
HSLhsl(344, 60%, 46%)
HSVhsv(344, 75%, 73%)
CMYKcmyk(0%, 74.7%, 54.8%, 27.1%)
CIE-LABlab(42.94, 56.95, 12.25)
CIE-LCHlch(42.94, 58.25, 12.14°)
OKLaboklab(53.06% 0.1727 0.031)
OKLCHoklch(53.06% 0.175 10.2)
XYZxyz(22.8686, 13.1154, 9.7131)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F54 #2FBA95
analogous
#BA2F99 #BA2F54 #BA4F2F
triadic
#BA2F54 #54BA2F #2F54BA
tetradic
#BA2F54 #99BA2F #2FBA95 #4F2FBA
square
#BA2F54 #99BA2F #2FBA95 #4F2FBA
split-complementary
#BA2F54 #2FBA4F #2F99BA
monochromatic
#581628 #89233E #BA2F54 #D35375 #E0849C

Accessibility & contrast

On white

5.80
#BA2F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA2F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F54
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F54#FFFFFF#000000##FFFFFF
##BA2F541.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535355
Deuteranopia (green-blind)
#777051
Tritanopia (blue-blind)
#CB033E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2f54;
/* rgb */ color: rgb(186, 47, 84);
/* oklch */ color: oklch(53.1% 0.175 10.2);
Tailwind
colors: {
  custom: {
    50: '#d57383',
    500: '#ba2f54',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f54;
$custom-light: #d57383;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f54",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 344.029,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.17548,
    "h": 10.2
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#BA2F54
secondary
#7CC9B4
accent
#E3B945
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA2F54

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

Preview Lab → · Contrast checker → · Palette generator →

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