#BA2F5A#BA2F5A

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

Color values

HEX#BA2F5A
RGBrgb(186, 47, 90)
HSLhsl(341, 60%, 46%)
HSVhsv(341, 75%, 73%)
CMYKcmyk(0%, 74.7%, 51.6%, 27.1%)
CIE-LABlab(43.08, 57.42, 8.71)
CIE-LCHlch(43.08, 58.08, 8.62°)
OKLaboklab(53.21% 0.175 0.0225)
OKLCHoklch(53.21% 0.176 7.3)
XYZxyz(23.1137, 13.2135, 11.0042)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F5A #2FBA8F
analogous
#BA2F9F #BA2F5A #BA492F
triadic
#BA2F5A #5ABA2F #2F5ABA
tetradic
#BA2F5A #9FBA2F #2FBA8F #492FBA
square
#BA2F5A #9FBA2F #2FBA8F #492FBA
split-complementary
#BA2F5A #2FBA49 #2F9FBA
monochromatic
#58162B #892342 #BA2F5A #D3537B #E084A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2F5A#FFFFFF#000000##FFFFFF
##BA2F5A1.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)
#52545B
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#CB0A41
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f5a;
/* rgb */ color: rgb(186, 47, 90);
/* oklch */ color: oklch(53.2% 0.176 7.3);
Tailwind
colors: {
  custom: {
    50: '#d57488',
    500: '#ba2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f5a;
$custom-light: #d57488;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f5a",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 341.439,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.17645,
    "h": 7.3
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#BA2F5A
secondary
#7CC9B1
accent
#E3B245
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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