#BA3874#BA3874

#BA3874 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.174 H 356.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA3874
RGBrgb(186, 56, 116)
HSLhsl(332, 54%, 47%)
HSVhsv(332, 70%, 73%)
CMYKcmyk(0%, 69.9%, 37.6%, 27.1%)
CIE-LABlab(44.99, 56.71, -4.65)
CIE-LCHlch(44.99, 56.90, 355.31°)
OKLaboklab(54.86% 0.1738 -0.0115)
OKLCHoklch(54.86% 0.174 356.2)
XYZxyz(24.8178, 14.5314, 18.0175)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3874 #38BA7E
analogous
#BA38B5 #BA3874 #BA3D38
triadic
#BA3874 #74BA38 #3874BA
tetradic
#BA3874 #B5BA38 #38BA7E #3D38BA
square
#BA3874 #B5BA38 #38BA7E #3D38BA
split-complementary
#BA3874 #38BA3D #38B5BA
monochromatic
#5C1C39 #8B2A57 #BA3874 #CF6093 #DD8FB3

Accessibility & contrast

On white

5.38
#BA3874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA3874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3874
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3874#FFFFFF#000000##FFFFFF
##BA38741.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B76
Deuteranopia (green-blind)
#747371
Tritanopia (blue-blind)
#C92B51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3874;
/* rgb */ color: rgb(186, 56, 116);
/* oklch */ color: oklch(54.9% 0.174 356.2);
Tailwind
colors: {
  custom: {
    50: '#d3789c',
    500: '#ba3874',
    950: '#000000',
  },
}
SCSS
$custom: #ba3874;
$custom-light: #d3789c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3874",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 332.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.17415,
    "h": 356.2
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#BA3874
secondary
#86C8A9
accent
#DD9A4B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3874

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

Preview Lab → · Contrast checker → · Palette generator →

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