#BA2F95#BA2F95

#BA2F95 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.4% C 0.202 H 341.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA2F95
RGBrgb(186, 47, 149)
HSLhsl(316, 60%, 46%)
HSVhsv(316, 75%, 73%)
CMYKcmyk(0%, 74.7%, 19.9%, 27.1%)
CIE-LABlab(45.14, 63.88, -24.50)
CIE-LCHlch(45.14, 68.42, 339.01°)
OKLaboklab(55.39% 0.1912 -0.066)
OKLCHoklch(55.39% 0.202 341)
XYZxyz(26.6919, 14.6448, 29.8490)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F95 #2FBA54
analogous
#992FBA #BA2F95 #BA2F4F
triadic
#BA2F95 #95BA2F #2F95BA
tetradic
#BA2F95 #BA992F #2FBA54 #2F4FBA
square
#BA2F95 #BA992F #2FBA54 #2F4FBA
split-complementary
#BA2F95 #4FBA2F #2FBA99
monochromatic
#581647 #89236E #BA2F95 #D353B1 #E084C7

Accessibility & contrast

On white

5.35
#BA2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA2F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F95
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F95#FFFFFF#000000##FFFFFF
##BA2F951.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D98
Deuteranopia (green-blind)
#677392
Tritanopia (blue-blind)
#C5325F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba2f95;
/* rgb */ color: rgb(186, 47, 149);
/* oklch */ color: oklch(55.4% 0.202 341.0);
Tailwind
colors: {
  custom: {
    50: '#d375b4',
    500: '#ba2f95',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f95;
$custom-light: #d375b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f95",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 315.971,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.20226,
    "h": 341
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#BA2F95
secondary
#7CC990
accent
#E36F45
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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