#BA2F61#BA2F61

#BA2F61 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.178 H 4.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BA2F61
RGBrgb(186, 47, 97)
HSLhsl(338, 60%, 46%)
HSVhsv(338, 75%, 73%)
CMYKcmyk(0%, 74.7%, 47.8%, 27.1%)
CIE-LABlab(43.27, 58.02, 4.60)
CIE-LCHlch(43.27, 58.20, 4.54°)
OKLaboklab(53.41% 0.1776 0.0124)
OKLCHoklch(53.41% 0.178 4)
XYZxyz(23.4258, 13.3383, 12.6479)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F61 #2FBA88
analogous
#BA2FA6 #BA2F61 #BA422F
triadic
#BA2F61 #61BA2F #2F61BA
tetradic
#BA2F61 #A6BA2F #2FBA88 #422FBA
square
#BA2F61 #A6BA2F #2FBA88 #422FBA
split-complementary
#BA2F61 #2FBA42 #2FA6BA
monochromatic
#58162E #892348 #BA2F61 #D35381 #E084A5

Accessibility & contrast

On white

5.73
#BA2F61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2F61
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F61#FFFFFF#000000##FFFFFF
##BA2F611.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505562
Deuteranopia (green-blind)
#75705E
Tritanopia (blue-blind)
#CA1144
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f61;
/* rgb */ color: rgb(186, 47, 97);
/* oklch */ color: oklch(53.4% 0.178 4.0);
Tailwind
colors: {
  custom: {
    50: '#d5748d',
    500: '#ba2f61',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f61;
$custom-light: #d5748d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f61",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 338.417,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.17801,
    "h": 4
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#BA2F61
secondary
#7CC9AD
accent
#E3AA45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2F61

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

Preview Lab → · Contrast checker → · Palette generator →

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