#BA2F73#BA2F73

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

Color values

HEX#BA2F73
RGBrgb(186, 47, 115)
HSLhsl(331, 60%, 46%)
HSVhsv(331, 75%, 73%)
CMYKcmyk(0%, 74.7%, 38.2%, 27.1%)
CIE-LABlab(43.82, 59.77, -5.77)
CIE-LCHlch(43.82, 60.05, 354.49°)
OKLaboklab(53.99% 0.1835 -0.0144)
OKLCHoklch(53.99% 0.184 355.5)
XYZxyz(24.3624, 13.7130, 17.5803)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F73 #2FBA76
analogous
#BA2FB9 #BA2F73 #BA302F
triadic
#BA2F73 #73BA2F #2F73BA
tetradic
#BA2F73 #B9BA2F #2FBA76 #302FBA
square
#BA2F73 #B9BA2F #2FBA76 #302FBA
split-complementary
#BA2F73 #2FBA30 #2FB9BA
monochromatic
#581637 #892355 #BA2F73 #D35392 #E084B1

Accessibility & contrast

On white

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

On black

3.74
#BA2F73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2F73#FFFFFF#000000##FFFFFF
##BA2F731.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5775
Deuteranopia (green-blind)
#717170
Tritanopia (blue-blind)
#C91E4D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2f73;
/* rgb */ color: rgb(186, 47, 115);
/* oklch */ color: oklch(54.0% 0.184 355.5);
Tailwind
colors: {
  custom: {
    50: '#d4749b',
    500: '#ba2f73',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f73;
$custom-light: #d4749b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f73",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 330.647,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.18409,
    "h": 355.5
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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