#BA2F58#BA2F58

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

Color values

HEX#BA2F58
RGBrgb(186, 47, 88)
HSLhsl(342, 60%, 46%)
HSVhsv(342, 75%, 73%)
CMYKcmyk(0%, 74.7%, 52.7%, 27.1%)
CIE-LABlab(43.03, 57.26, 9.89)
CIE-LCHlch(43.03, 58.11, 9.80°)
OKLaboklab(53.16% 0.1742 0.0254)
OKLCHoklch(53.16% 0.176 8.3)
XYZxyz(23.0298, 13.1799, 10.5619)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F58 #2FBA91
analogous
#BA2F9D #BA2F58 #BA4B2F
triadic
#BA2F58 #58BA2F #2F58BA
tetradic
#BA2F58 #9DBA2F #2FBA91 #4B2FBA
square
#BA2F58 #9DBA2F #2FBA91 #4B2FBA
split-complementary
#BA2F58 #2FBA4B #2F9DBA
monochromatic
#58162A #892341 #BA2F58 #D35379 #E0849F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2F58#FFFFFF#000000##FFFFFF
##BA2F581.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525459
Deuteranopia (green-blind)
#767055
Tritanopia (blue-blind)
#CB0840
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f58;
/* rgb */ color: rgb(186, 47, 88);
/* oklch */ color: oklch(53.2% 0.176 8.3);
Tailwind
colors: {
  custom: {
    50: '#d57486',
    500: '#ba2f58',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f58;
$custom-light: #d57486;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f58",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 342.302,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.17609,
    "h": 8.3
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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