#BA3F74#BA3F74

#BA3F74 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.165 H 357.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3F74
RGBrgb(186, 63, 116)
HSLhsl(334, 49%, 49%)
HSVhsv(334, 66%, 73%)
CMYKcmyk(0%, 66.1%, 37.6%, 27.1%)
CIE-LABlab(45.99, 53.95, -3.18)
CIE-LCHlch(45.99, 54.05, 356.63°)
OKLaboklab(55.6% 0.1651 -0.0077)
OKLCHoklch(55.6% 0.165 357.3)
XYZxyz(25.1812, 15.2580, 18.1386)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F74 #3FBA85
analogous
#BA3FB2 #BA3F74 #BA473F
triadic
#BA3F74 #74BA3F #3F74BA
tetradic
#BA3F74 #B2BA3F #3FBA85 #473FBA
square
#BA3F74 #B2BA3F #3FBA85 #473FBA
split-complementary
#BA3F74 #3FBA47 #3FB2BA
monochromatic
#5F203B #8C3057 #BA3F74 #CC6A94 #DC97B5

Accessibility & contrast

On white

5.18
#BA3F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F74
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F74#FFFFFF#000000##FFFFFF
##BA3F741.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555E75
Deuteranopia (green-blind)
#777571
Tritanopia (blue-blind)
#C93355
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3f74;
/* rgb */ color: rgb(186, 63, 116);
/* oklch */ color: oklch(55.6% 0.165 357.3);
Tailwind
colors: {
  custom: {
    50: '#d37c9b',
    500: '#ba3f74',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f74;
$custom-light: #d37c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f74",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 116
  },
  "hsl": {
    "h": 334.146,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.16524,
    "h": 357.3
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#BA3F74
secondary
#8DC8AE
accent
#D99D4F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3F74

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

Preview Lab → · Contrast checker → · Palette generator →

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