#BA2862#BA2862

#BA2862 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.185 H 2.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA2862
RGBrgb(186, 40, 98)
HSLhsl(336, 65%, 44%)
HSVhsv(336, 78%, 73%)
CMYKcmyk(0%, 78.5%, 47.3%, 27.1%)
CIE-LABlab(42.52, 60.29, 2.91)
CIE-LCHlch(42.52, 60.36, 2.76°)
OKLaboklab(52.87% 0.1849 0.0081)
OKLCHoklch(52.87% 0.185 2.5)
XYZxyz(23.2151, 12.8417, 12.8091)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2862 #28BA80
analogous
#BA28AB #BA2862 #BA3728
triadic
#BA2862 #62BA28 #2862BA
tetradic
#BA2862 #ABBA28 #28BA80 #3728BA
square
#BA2862 #ABBA28 #28BA80 #3728BA
split-complementary
#BA2862 #28BA37 #28ABBA
monochromatic
#55122D #881D47 #BA2862 #D84881 #E27AA3

Accessibility & contrast

On white

5.89
#BA2862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2862
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2862#FFFFFF#000000##FFFFFF
##BA28621.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5263
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#CA0042
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2862;
/* rgb */ color: rgb(186, 40, 98);
/* oklch */ color: oklch(52.9% 0.185 2.5);
Tailwind
colors: {
  custom: {
    50: '#d5718e',
    500: '#ba2862',
    950: '#000000',
  },
}
SCSS
$custom: #ba2862;
$custom-light: #d5718e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2862",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 336.164,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.18512,
    "h": 2.5
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#BA2862
secondary
#73CAA8
accent
#E8A540
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2862

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

Preview Lab → · Contrast checker → · Palette generator →

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