#BA4274#BA4274

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

Color values

HEX#BA4274
RGBrgb(186, 66, 116)
HSLhsl(335, 48%, 49%)
HSVhsv(335, 65%, 73%)
CMYKcmyk(0%, 64.5%, 37.6%, 27.1%)
CIE-LABlab(46.44, 52.70, -2.50)
CIE-LCHlch(46.44, 52.76, 357.29°)
OKLaboklab(55.94% 0.1611 -0.0059)
OKLCHoklch(55.94% 0.161 357.9)
XYZxyz(25.3518, 15.5994, 18.1955)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4274 #42BA88
analogous
#BA42B0 #BA4274 #BA4C42
triadic
#BA4274 #74BA42 #4274BA
tetradic
#BA4274 #B0BA42 #42BA88 #4C42BA
square
#BA4274 #B0BA42 #42BA88 #4C42BA
split-complementary
#BA4274 #42BA4C #42B0BA
monochromatic
#60223C #8D3258 #BA4274 #CB6E95 #DB9BB6

Accessibility & contrast

On white

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

On black

4.12
#BA4274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4274#FFFFFF#000000##FFFFFF
##BA42741.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576075
Deuteranopia (green-blind)
#787671
Tritanopia (blue-blind)
#C93756
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4274;
/* rgb */ color: rgb(186, 66, 116);
/* oklch */ color: oklch(55.9% 0.161 357.9);
Tailwind
colors: {
  custom: {
    50: '#d37d9b',
    500: '#ba4274',
    950: '#000000',
  },
}
SCSS
$custom: #ba4274;
$custom-light: #d37d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4274",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 335,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.16123,
    "h": 357.9
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#BA4274
secondary
#90C8B1
accent
#D79F51
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4274

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

Preview Lab → · Contrast checker → · Palette generator →

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