#BA2F65#BA2F65

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

Color values

HEX#BA2F65
RGBrgb(186, 47, 101)
HSLhsl(337, 60%, 46%)
HSVhsv(337, 75%, 73%)
CMYKcmyk(0%, 74.7%, 45.7%, 27.1%)
CIE-LABlab(43.38, 58.38, 2.27)
CIE-LCHlch(43.38, 58.43, 2.23°)
OKLaboklab(53.53% 0.179 0.0065)
OKLCHoklch(53.53% 0.179 2.1)
XYZxyz(23.6171, 13.4148, 13.6551)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F65 #2FBA84
analogous
#BA2FAA #BA2F65 #BA3F2F
triadic
#BA2F65 #65BA2F #2F65BA
tetradic
#BA2F65 #AABA2F #2FBA84 #3F2FBA
square
#BA2F65 #AABA2F #2FBA84 #3F2FBA
split-complementary
#BA2F65 #2FBA3F #2FAABA
monochromatic
#581630 #89234A #BA2F65 #D35385 #E084A7

Accessibility & contrast

On white

5.70
#BA2F65 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#BA2F65 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F65
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F65#FFFFFF#000000##FFFFFF
##BA2F651.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5566
Deuteranopia (green-blind)
#747062
Tritanopia (blue-blind)
#CA1446
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f65;
/* rgb */ color: rgb(186, 47, 101);
/* oklch */ color: oklch(53.5% 0.179 2.1);
Tailwind
colors: {
  custom: {
    50: '#d47490',
    500: '#ba2f65',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f65;
$custom-light: #d47490;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f65",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 336.691,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.17911,
    "h": 2.1
  },
  "luminance": 0.13412
}

Semantic roles & 50–950 ramp

primary
#BA2F65
secondary
#7CC9AB
accent
#E3A645
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2F65

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

Preview Lab → · Contrast checker → · Palette generator →

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