#BA2F5E#BA2F5E

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

Color values

HEX#BA2F5E
RGBrgb(186, 47, 94)
HSLhsl(340, 60%, 46%)
HSVhsv(340, 75%, 73%)
CMYKcmyk(0%, 74.7%, 49.5%, 27.1%)
CIE-LABlab(43.19, 57.76, 6.36)
CIE-LCHlch(43.19, 58.11, 6.28°)
OKLaboklab(53.32% 0.1765 0.0167)
OKLCHoklch(53.32% 0.177 5.4)
XYZxyz(23.2886, 13.2834, 11.9251)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F5E #2FBA8B
analogous
#BA2FA3 #BA2F5E #BA452F
triadic
#BA2F5E #5EBA2F #2F5EBA
tetradic
#BA2F5E #A3BA2F #2FBA8B #452FBA
square
#BA2F5E #A3BA2F #2FBA8B #452FBA
split-complementary
#BA2F5E #2FBA45 #2FA3BA
monochromatic
#58162D #892345 #BA2F5E #D3537E #E084A3

Accessibility & contrast

On white

5.74
#BA2F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA2F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F5E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F5E#FFFFFF#000000##FFFFFF
##BA2F5E1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545F
Deuteranopia (green-blind)
#75705B
Tritanopia (blue-blind)
#CB0E43
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f5e;
/* rgb */ color: rgb(186, 47, 94);
/* oklch */ color: oklch(53.3% 0.177 5.4);
Tailwind
colors: {
  custom: {
    50: '#d5748b',
    500: '#ba2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f5e;
$custom-light: #d5748b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f5e",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 339.712,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.17728,
    "h": 5.4
  },
  "luminance": 0.1328
}

Semantic roles & 50–950 ramp

primary
#BA2F5E
secondary
#7CC9AF
accent
#E3AD45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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