#BA2F6A#BA2F6A

#BA2F6A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.181 H 359.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA2F6A
RGBrgb(186, 47, 106)
HSLhsl(335, 60%, 46%)
HSVhsv(335, 75%, 73%)
CMYKcmyk(0%, 74.7%, 43%, 27.1%)
CIE-LABlab(43.53, 58.86, -0.62)
CIE-LCHlch(43.53, 58.86, 359.40°)
OKLaboklab(53.69% 0.1807 -0.0009)
OKLCHoklch(53.69% 0.181 359.7)
XYZxyz(23.8695, 13.5158, 14.9847)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F6A #2FBA7F
analogous
#BA2FB0 #BA2F6A #BA392F
triadic
#BA2F6A #6ABA2F #2F6ABA
tetradic
#BA2F6A #B0BA2F #2FBA7F #392FBA
square
#BA2F6A #B0BA2F #2FBA7F #392FBA
split-complementary
#BA2F6A #2FBA39 #2FB0BA
monochromatic
#581632 #89234E #BA2F6A #D35389 #E084AB

Accessibility & contrast

On white

5.67
#BA2F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA2F6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F6A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F6A#FFFFFF#000000##FFFFFF
##BA2F6A1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566B
Deuteranopia (green-blind)
#737067
Tritanopia (blue-blind)
#CA1849
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2f6a;
/* rgb */ color: rgb(186, 47, 106);
/* oklch */ color: oklch(53.7% 0.181 359.7);
Tailwind
colors: {
  custom: {
    50: '#d47494',
    500: '#ba2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f6a;
$custom-light: #d47494;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f6a",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 334.532,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.18069,
    "h": 359.7
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#BA2F6A
secondary
#7CC9A8
accent
#E3A045
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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