#BA2F63#BA2F63

#BA2F63 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.179 H 3.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BA2F63
RGBrgb(186, 47, 99)
HSLhsl(338, 60%, 46%)
HSVhsv(338, 75%, 73%)
CMYKcmyk(0%, 74.7%, 46.8%, 27.1%)
CIE-LABlab(43.32, 58.20, 3.44)
CIE-LCHlch(43.32, 58.30, 3.38°)
OKLaboklab(53.47% 0.1783 0.0094)
OKLCHoklch(53.47% 0.179 3)
XYZxyz(23.5203, 13.3761, 13.1453)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F63 #2FBA86
analogous
#BA2FA8 #BA2F63 #BA402F
triadic
#BA2F63 #63BA2F #2F63BA
tetradic
#BA2F63 #A8BA2F #2FBA86 #402FBA
square
#BA2F63 #A8BA2F #2FBA86 #402FBA
split-complementary
#BA2F63 #2FBA40 #2FA8BA
monochromatic
#58162F #892349 #BA2F63 #D35383 #E084A6

Accessibility & contrast

On white

5.71
#BA2F63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BA2F63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F63
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F63#FFFFFF#000000##FFFFFF
##BA2F631.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5564
Deuteranopia (green-blind)
#757060
Tritanopia (blue-blind)
#CA1345
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f63;
/* rgb */ color: rgb(186, 47, 99);
/* oklch */ color: oklch(53.5% 0.179 3.0);
Tailwind
colors: {
  custom: {
    50: '#d4748f',
    500: '#ba2f63',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f63;
$custom-light: #d4748f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f63",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 337.554,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.17854,
    "h": 3
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#BA2F63
secondary
#7CC9AC
accent
#E3A845
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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