#BA2F67#BA2F67

#BA2F67 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.180 H 1.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BA2F67
RGBrgb(186, 47, 103)
HSLhsl(336, 60%, 46%)
HSVhsv(336, 75%, 73%)
CMYKcmyk(0%, 74.7%, 44.6%, 27.1%)
CIE-LABlab(43.44, 58.57, 1.11)
CIE-LCHlch(43.44, 58.58, 1.09°)
OKLaboklab(53.59% 0.1797 0.0035)
OKLCHoklch(53.59% 0.18 1.1)
XYZxyz(23.7163, 13.4545, 14.1774)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F67 #2FBA82
analogous
#BA2FAD #BA2F67 #BA3C2F
triadic
#BA2F67 #67BA2F #2F67BA
tetradic
#BA2F67 #ADBA2F #2FBA82 #3C2FBA
square
#BA2F67 #ADBA2F #2FBA82 #3C2FBA
split-complementary
#BA2F67 #2FBA3C #2FADBA
monochromatic
#581631 #89234C #BA2F67 #D35387 #E084A9

Accessibility & contrast

On white

5.69
#BA2F67 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#BA2F67 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F67
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F67#FFFFFF#000000##FFFFFF
##BA2F671.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5668
Deuteranopia (green-blind)
#747064
Tritanopia (blue-blind)
#CA1647
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2f67;
/* rgb */ color: rgb(186, 47, 103);
/* oklch */ color: oklch(53.6% 0.180 1.1);
Tailwind
colors: {
  custom: {
    50: '#d47492',
    500: '#ba2f67',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f67;
$custom-light: #d47492;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f67",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 335.827,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.17971,
    "h": 1.1
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#BA2F67
secondary
#7CC9AA
accent
#E3A345
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2F67

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

Preview Lab → · Contrast checker → · Palette generator →

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