#BA2F5C#BA2F5C

#BA2F5C is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.177 H 6.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#BA2F5C
RGBrgb(186, 47, 92)
HSLhsl(341, 60%, 46%)
HSVhsv(341, 75%, 73%)
CMYKcmyk(0%, 74.7%, 50.5%, 27.1%)
CIE-LABlab(43.13, 57.59, 7.53)
CIE-LCHlch(43.13, 58.08, 7.45°)
OKLaboklab(53.27% 0.1758 0.0196)
OKLCHoklch(53.27% 0.177 6.4)
XYZxyz(23.2000, 13.2480, 11.4586)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F5C #2FBA8D
analogous
#BA2FA1 #BA2F5C #BA482F
triadic
#BA2F5C #5CBA2F #2F5CBA
tetradic
#BA2F5C #A1BA2F #2FBA8D #482FBA
square
#BA2F5C #A1BA2F #2FBA8D #482FBA
split-complementary
#BA2F5C #2FBA48 #2FA1BA
monochromatic
#58162C #892344 #BA2F5C #D3537C #E084A1

Accessibility & contrast

On white

5.76
#BA2F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#BA2F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F5C
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F5C#FFFFFF#000000##FFFFFF
##BA2F5C1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545D
Deuteranopia (green-blind)
#767059
Tritanopia (blue-blind)
#CB0C42
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f5c;
/* rgb */ color: rgb(186, 47, 92);
/* oklch */ color: oklch(53.3% 0.177 6.4);
Tailwind
colors: {
  custom: {
    50: '#d57489',
    500: '#ba2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f5c;
$custom-light: #d57489;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f5c",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 340.576,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.17684,
    "h": 6.4
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#BA2F5C
secondary
#7CC9B0
accent
#E3B045
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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