#BA2F74#BA2F74

#BA2F74 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.185 H 355.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BA2F74
RGBrgb(186, 47, 116)
HSLhsl(330, 60%, 46%)
HSVhsv(330, 75%, 73%)
CMYKcmyk(0%, 74.7%, 37.6%, 27.1%)
CIE-LABlab(43.85, 59.88, -6.34)
CIE-LCHlch(43.85, 60.21, 353.96°)
OKLaboklab(54.03% 0.1838 -0.016)
OKLCHoklch(54.03% 0.185 355)
XYZxyz(24.4202, 13.7361, 17.8850)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F74 #2FBA75
analogous
#BA2FB9 #BA2F74 #BA2F2F
triadic
#BA2F74 #74BA2F #2F74BA
tetradic
#BA2F74 #B9BA2F #2FBA75 #2F2FBA
square
#BA2F74 #B9BA2F #2FBA75 #2F2FBA
split-complementary
#BA2F74 #2FBA2F #2FB9BA
monochromatic
#581637 #892356 #BA2F74 #D35393 #E084B1

Accessibility & contrast

On white

5.61
#BA2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA2F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F74
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F74#FFFFFF#000000##FFFFFF
##BA2F741.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5776
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#C91F4D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2f74;
/* rgb */ color: rgb(186, 47, 116);
/* oklch */ color: oklch(54.0% 0.185 355.0);
Tailwind
colors: {
  custom: {
    50: '#d4749c',
    500: '#ba2f74',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f74;
$custom-light: #d4749c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f74",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 330.216,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.18451,
    "h": 355
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#BA2F74
secondary
#7CC9A3
accent
#E39445
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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