#BA4273#BA4273

#BA4273 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.9% C 0.161 H 358.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA4273
RGBrgb(186, 66, 115)
HSLhsl(336, 48%, 49%)
HSVhsv(336, 65%, 73%)
CMYKcmyk(0%, 64.5%, 38.2%, 27.1%)
CIE-LABlab(46.41, 52.59, -1.93)
CIE-LCHlch(46.41, 52.62, 357.89°)
OKLaboklab(55.91% 0.1608 -0.0044)
OKLCHoklch(55.91% 0.161 358.4)
XYZxyz(25.2940, 15.5762, 17.8908)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4273 #42BA89
analogous
#BA42AF #BA4273 #BA4D42
triadic
#BA4273 #73BA42 #4273BA
tetradic
#BA4273 #AFBA42 #42BA89 #4D42BA
square
#BA4273 #AFBA42 #42BA89 #4D42BA
split-complementary
#BA4273 #42BA4D #42AFBA
monochromatic
#60223B #8D3257 #BA4273 #CB6E94 #DB9BB5

Accessibility & contrast

On white

5.10
#BA4273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA4273 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4273
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4273#FFFFFF#000000##FFFFFF
##BA42731.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586074
Deuteranopia (green-blind)
#787670
Tritanopia (blue-blind)
#C93656
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4273;
/* rgb */ color: rgb(186, 66, 115);
/* oklch */ color: oklch(55.9% 0.161 358.4);
Tailwind
colors: {
  custom: {
    50: '#d37d9b',
    500: '#ba4273',
    950: '#000000',
  },
}
SCSS
$custom: #ba4273;
$custom-light: #d37d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4273",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 335.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55906,
    "c": 0.16084,
    "h": 358.4
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#BA4273
secondary
#90C8B1
accent
#D7A051
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4273

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

Preview Lab → · Contrast checker → · Palette generator →

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