#BA2F62#BA2F62

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

Color values

HEX#BA2F62
RGBrgb(186, 47, 98)
HSLhsl(338, 60%, 46%)
HSVhsv(338, 75%, 73%)
CMYKcmyk(0%, 74.7%, 47.3%, 27.1%)
CIE-LABlab(43.30, 58.11, 4.02)
CIE-LCHlch(43.30, 58.25, 3.96°)
OKLaboklab(53.44% 0.1779 0.0109)
OKLCHoklch(53.44% 0.178 3.5)
XYZxyz(23.4728, 13.3571, 12.8950)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F62 #2FBA87
analogous
#BA2FA7 #BA2F62 #BA422F
triadic
#BA2F62 #62BA2F #2F62BA
tetradic
#BA2F62 #A7BA2F #2FBA87 #422FBA
square
#BA2F62 #A7BA2F #2FBA87 #422FBA
split-complementary
#BA2F62 #2FBA42 #2FA7BA
monochromatic
#58162F #892348 #BA2F62 #D35382 #E084A5

Accessibility & contrast

On white

5.72
#BA2F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2F62
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F62#FFFFFF#000000##FFFFFF
##BA2F621.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505563
Deuteranopia (green-blind)
#75705F
Tritanopia (blue-blind)
#CA1245
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2f62;
/* rgb */ color: rgb(186, 47, 98);
/* oklch */ color: oklch(53.4% 0.178 3.5);
Tailwind
colors: {
  custom: {
    50: '#d4748e',
    500: '#ba2f62',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f62;
$custom-light: #d4748e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f62",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 337.986,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53439,
    "c": 0.17827,
    "h": 3.5
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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