#BA2F59#BA2F59

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

Color values

HEX#BA2F59
RGBrgb(186, 47, 89)
HSLhsl(342, 60%, 46%)
HSVhsv(342, 75%, 73%)
CMYKcmyk(0%, 74.7%, 52.2%, 27.1%)
CIE-LABlab(43.06, 57.34, 9.30)
CIE-LCHlch(43.06, 58.09, 9.21°)
OKLaboklab(53.19% 0.1746 0.0239)
OKLCHoklch(53.19% 0.176 7.8)
XYZxyz(23.0715, 13.1966, 10.7816)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F59 #2FBA90
analogous
#BA2F9E #BA2F59 #BA4B2F
triadic
#BA2F59 #59BA2F #2F59BA
tetradic
#BA2F59 #9EBA2F #2FBA90 #4B2FBA
square
#BA2F59 #9EBA2F #2FBA90 #4B2FBA
split-complementary
#BA2F59 #2FBA4B #2F9EBA
monochromatic
#58162A #892342 #BA2F59 #D3537A #E0849F

Accessibility & contrast

On white

5.77
#BA2F59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#BA2F59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F59
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F59#FFFFFF#000000##FFFFFF
##BA2F591.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545A
Deuteranopia (green-blind)
#767056
Tritanopia (blue-blind)
#CB0941
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f59;
/* rgb */ color: rgb(186, 47, 89);
/* oklch */ color: oklch(53.2% 0.176 7.8);
Tailwind
colors: {
  custom: {
    50: '#d57487',
    500: '#ba2f59',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f59;
$custom-light: #d57487;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f59",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 341.871,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.17626,
    "h": 7.8
  },
  "luminance": 0.13193
}

Semantic roles & 50–950 ramp

primary
#BA2F59
secondary
#7CC9B2
accent
#E3B345
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2F59

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

Preview Lab → · Contrast checker → · Palette generator →

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