#BA2867#BA2867

#BA2867 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.187 H 0.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA2867
RGBrgb(186, 40, 103)
HSLhsl(334, 65%, 44%)
HSVhsv(334, 78%, 73%)
CMYKcmyk(0%, 78.5%, 44.6%, 27.1%)
CIE-LABlab(42.67, 60.74, -0.01)
CIE-LCHlch(42.67, 60.74, 359.99°)
OKLaboklab(53.03% 0.1866 0.0007)
OKLCHoklch(53.03% 0.187 0.2)
XYZxyz(23.4585, 12.9391, 14.0915)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2867 #28BA7B
analogous
#BA28B0 #BA2867 #BA3228
triadic
#BA2867 #67BA28 #2867BA
tetradic
#BA2867 #B0BA28 #28BA7B #3228BA
square
#BA2867 #B0BA28 #28BA7B #3228BA
split-complementary
#BA2867 #28BA32 #28B0BA
monochromatic
#55122F #881D4B #BA2867 #D84886 #E27AA7

Accessibility & contrast

On white

5.85
#BA2867 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BA2867 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2867
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2867#FFFFFF#000000##FFFFFF
##BA28671.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5368
Deuteranopia (green-blind)
#726F64
Tritanopia (blue-blind)
#CA0444
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2867;
/* rgb */ color: rgb(186, 40, 103);
/* oklch */ color: oklch(53.0% 0.187 0.2);
Tailwind
colors: {
  custom: {
    50: '#d47192',
    500: '#ba2867',
    950: '#000000',
  },
}
SCSS
$custom: #ba2867;
$custom-light: #d47192;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2867",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 334.11,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.18664,
    "h": 0.2
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#BA2867
secondary
#73CAA5
accent
#E89F40
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2867

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

Preview Lab → · Contrast checker → · Palette generator →

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