#BA2F52#BA2F52

#BA2F52 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.175 H 11.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA2F52
RGBrgb(186, 47, 82)
HSLhsl(345, 60%, 46%)
HSVhsv(345, 75%, 73%)
CMYKcmyk(0%, 74.7%, 55.9%, 27.1%)
CIE-LABlab(42.89, 56.79, 13.44)
CIE-LCHlch(42.89, 58.36, 13.31°)
OKLaboklab(53.01% 0.172 0.0338)
OKLCHoklch(53.01% 0.175 11.1)
XYZxyz(22.7914, 13.0846, 9.3065)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F52 #2FBA97
analogous
#BA2F97 #BA2F52 #BA512F
triadic
#BA2F52 #52BA2F #2F52BA
tetradic
#BA2F52 #97BA2F #2FBA97 #512FBA
square
#BA2F52 #97BA2F #2FBA97 #512FBA
split-complementary
#BA2F52 #2FBA51 #2F97BA
monochromatic
#581627 #89233C #BA2F52 #D35373 #E0849B

Accessibility & contrast

On white

5.81
#BA2F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA2F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F52
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F52#FFFFFF#000000##FFFFFF
##BA2F521.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535353
Deuteranopia (green-blind)
#77704E
Tritanopia (blue-blind)
#CB013E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2f52;
/* rgb */ color: rgb(186, 47, 82);
/* oklch */ color: oklch(53.0% 0.175 11.1);
Tailwind
colors: {
  custom: {
    50: '#d57382',
    500: '#ba2f52',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f52;
$custom-light: #d57382;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f52",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 344.892,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.17524,
    "h": 11.1
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#BA2F52
secondary
#7CC9B6
accent
#E3BB45
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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