#BA3255#BA3255

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

Color values

HEX#BA3255
RGBrgb(186, 50, 85)
HSLhsl(345, 58%, 46%)
HSVhsv(345, 73%, 73%)
CMYKcmyk(0%, 73.1%, 54.3%, 27.1%)
CIE-LABlab(43.33, 55.99, 12.17)
CIE-LCHlch(43.33, 57.30, 12.26°)
OKLaboklab(53.35% 0.1698 0.0308)
OKLCHoklch(53.35% 0.173 10.3)
XYZxyz(23.0321, 13.3794, 9.9622)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3255 #32BA97
analogous
#BA3299 #BA3255 #BA5332
triadic
#BA3255 #55BA32 #3255BA
tetradic
#BA3255 #99BA32 #32BA97 #5332BA
square
#BA3255 #99BA32 #32BA97 #5332BA
split-complementary
#BA3255 #32BA53 #3299BA
monochromatic
#5A1829 #8A253F #BA3255 #D25777 #DF889E

Accessibility & contrast

On white

5.71
#BA3255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#BA3255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3255
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3255#FFFFFF#000000##FFFFFF
##BA32551.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545556
Deuteranopia (green-blind)
#787052
Tritanopia (blue-blind)
#CB0F40
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3255;
/* rgb */ color: rgb(186, 50, 85);
/* oklch */ color: oklch(53.4% 0.173 10.3);
Tailwind
colors: {
  custom: {
    50: '#d57584',
    500: '#ba3255',
    950: '#000000',
  },
}
SCSS
$custom: #ba3255;
$custom-light: #d57584;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3255",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 344.559,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53354,
    "c": 0.17257,
    "h": 10.3
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#BA3255
secondary
#7FC9B6
accent
#E1B947
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA3255

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

Preview Lab → · Contrast checker → · Palette generator →

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