#BA416F#BA416F

#BA416F is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.7% C 0.161 H 0.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA416F
RGBrgb(186, 65, 111)
HSLhsl(337, 48%, 49%)
HSVhsv(337, 65%, 73%)
CMYKcmyk(0%, 65.1%, 40.3%, 27.1%)
CIE-LABlab(46.14, 52.57, 0.11)
CIE-LCHlch(46.14, 52.57, 0.12°)
OKLaboklab(55.66% 0.1608 0.0009)
OKLCHoklch(55.66% 0.161 0.3)
XYZxyz(25.0109, 15.3703, 16.6855)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA416F #41BA8C
analogous
#BA41AC #BA416F #BA5041
triadic
#BA416F #6FBA41 #416FBA
tetradic
#BA416F #ACBA41 #41BA8C #5041BA
square
#BA416F #ACBA41 #41BA8C #5041BA
split-complementary
#BA416F #41BA50 #41ACBA
monochromatic
#5F2139 #8D3154 #BA416F #CC6C91 #DC9AB3

Accessibility & contrast

On white

5.16
#BA416F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA416F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA416F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA416F#FFFFFF#000000##FFFFFF
##BA416F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F70
Deuteranopia (green-blind)
#79766C
Tritanopia (blue-blind)
#C93453
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba416f;
/* rgb */ color: rgb(186, 65, 111);
/* oklch */ color: oklch(55.7% 0.161 0.3);
Tailwind
colors: {
  custom: {
    50: '#d37d98',
    500: '#ba416f',
    950: '#000000',
  },
}
SCSS
$custom: #ba416f;
$custom-light: #d37d98;
$custom-dark: #000000;
JSON
{
  "hex": "#ba416f",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 337.19,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.16077,
    "h": 0.3
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#BA416F
secondary
#8FC8B2
accent
#D8A450
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA416F

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

Preview Lab → · Contrast checker → · Palette generator →

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